Webhooks
Delete Webhook
Permanently remove a webhook subscription so DialNexa stops delivering events to that URL.
DELETE
Delete a webhook
Permanently removes a webhook subscription. DialNexa immediately stops attempting deliveries to the registered URL, including any events that were queued for retry. This action cannot be undone, and webhook secrets are not recoverable after deletion. If you re-create the same URL later, you must store the new secret and redeploy your verification middleware.
When to use this
Webhook deletion is destructive. Reach for it only when you want to permanently retire a subscription, for example:- A consumer service is being decommissioned.
- The URL was registered against a development environment that no longer exists.
- A previous integration leaked the signing secret and the cleanest mitigation is to delete the subscription, rotate any external dependencies on it, and re-register with a new secret.
is_active to false. Disabled webhooks keep their secret and event subscriptions, so you can re-enable delivery later without coordinating a redeploy.
Behavior
- Pending retries for this webhook are dropped from the delivery queue.
- The webhook’s signing secret is invalidated.
- Past delivery attempts remain visible in Webhook delivery logs for audit purposes for the standard retention window.
Path parameters
| Parameter | Description |
|---|---|
id | The webhook ID, for example whk_c9v3nz8rq4pm. |
Errors
404 Not Foundis returned when the webhook does not exist or has already been deleted.403 Forbiddenis returned when the caller’s API key does not have webhook management permission.
Request
Response
Related endpoints
- Update Webhook: pause delivery without deleting the subscription.
- List Webhooks: confirm the webhook is gone after deletion.
- Webhook secrets: how secrets are generated and rotated.
Delete a webhook