destroy

DELETE /api/v1/accounts/:account_id/webhook_subscriptions/:id

Delete a webhook subscription

Stops deliveries and deletes the subscription. This cannot be undone.

Parameters

Name Type Required Description
account_id Must be a number. Required

Store (account) ID

id Must be a number. Required

Webhook subscription ID

Error Codes

Code Description
401 Unauthorized – invalid or missing API token
404 Store or subscription not found

Returns

Code: 204

No content. The subscription was deleted.