Webhooks
Delete Webhook
Delete a webhook subscription — deliveries stop immediately and the delivery history is removed.
DELETE
Deletes a webhook subscription. Deliveries stop immediately and the subscription’s delivery history is removed with it. Deletion is permanent — there is no undo.
This is also the recovery path for two situations:
- Lost secret: secrets are shown only once at creation. Delete the subscription and create a new one to get a fresh
whsec_…secret (this is also how you rotate a secret). - Auto-disabled subscription: a
DISABLEDwebhook cannot be re-enabled. Delete it, fix your endpoint, and create a replacement — then catch up on events missed while disabled withGET /updates, since new subscriptions have no backfill.
webhooks:manage scope + the public_api_webhooks feature.
Request
The webhook subscription ID.
Response
The subscription as it existed at deletion:
{id, url, eventTypes, status, createdAt, disabledAt, disabledReason} — same shape as GET /webhooks/{id}.Always
true on success.Errors
| Status | code | Meaning |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid token |
403 | FORBIDDEN | Missing webhooks:manage scope, or public_api_webhooks disabled |
404 | NOT_FOUND | No such webhook, or it belongs to another account (details: {resource: "webhooks", webhookId}) |