Delete a widget
Permanently removes the widget. This is a hard delete — the record is removed from the database. The identifier of a product collection widget returns 404.
Storefront pages may keep showing the widget for up to about three minutes until their cache expires.
A widget used by a data source landing page cannot be deleted and is rejected with 406. Delete the landing page first, then repeat the request — see Deletion Behavior.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the widget.
The widget was deleted. No content is returned.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested widget does not exist, or it is a product collection widget.
The widget cannot be deleted because a data source landing page still uses it. Delete that landing page first, then repeat the request.
DELETE /api/v1/remote/1/widgets/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

