Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

delete
/widgets/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the widget.

Responses
204

The widget was deleted. No content is returned.

No content

delete/widgets/{id}/
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?