DELETED and any subsequent request to its id returns 410 Gone. This action cannot be undone — if you want to temporarily pause delivery without permanent removal, use the Update Webhook endpoint to set status to DISABLED instead. This endpoint requires the webhooks:write permission.
Request
Headers
Bearer token using your API key. Format:
Bearer cs_live_your_keyPath parameters
The unique identifier of the webhook to delete (e.g.,
wh_01hx4kz9mntd8vr2bpqe5ycf3a).Response
200 — success
Human-readable confirmation that the webhook was deleted.
The identifier of the webhook that was deleted.
Always
"DELETED" on a successful response.401 — unauthorized
Returned when your API key is missing, invalid, or lacks thewebhooks:write permission.
404 — not found
Returned when no webhook with the givenid exists under your merchant account.
410 — gone
Returned when the webhook was already deleted in a previous request. Once a webhook is deleted, all subsequent requests to thatid return 410 Gone.
Example
Sample response (200)