Delete Instance
DELETE/api/storefront/instances/:id
Delete the instance and everything mirrored under it: imported orders and order lines, product listings, shipment records and API logs. By platform convention the sales channel goes too, and with it the SKU.io sales orders that reference it — they cannot outlive the channel row they point at. All of it happens in one transaction.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
When the instance was connected through the store's owner-approval flow, its key is also revoked on the store first. That is best-effort: a store that is down or refuses the revoke never makes the integration undeletable, and the key is forgotten here regardless.
Permission: integrations.delete.
Authentication: Bearer token (session or PAT).
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.