Skip to main content
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 DISABLED webhook cannot be re-enabled. Delete it, fix your endpoint, and create a replacement — then catch up on events missed while disabled with GET /updates, since new subscriptions have no backfill.
Requirements: webhooks:manage scope + the public_api_webhooks feature.

Request

webhookId
string
required
The webhook subscription ID.

Response

webhook
object
The subscription as it existed at deletion: {id, url, eventTypes, status, createdAt, disabledAt, disabledReason} — same shape as GET /webhooks/{id}.
deleted
boolean
Always true on success.

Errors