Skip to main content
DELETE
Delete Webhook
Destructive Deletes a webhook subscription so new deliveries stop being sent to the registered URL. The response returns the deleted id in data.id. The secret is not recoverable. If you create another subscription later, store its secret and update your verification configuration.

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.
If you only want to stop receiving events temporarily, use Update Webhook and set is_active to false. Disabled webhooks keep their secret and event subscriptions, so you can re-enable delivery later without coordinating a redeploy.

Verify deletion

List webhooks and confirm the deleted ID is no longer returned. If the delete request times out, check the list before repeating it. Deliveries are not queued or retried, so a delivery that was already being sent when you deleted the subscription can still arrive; keep the receiver safe to run during the transition.

Path parameters

Errors

  • 404 Not Found is returned when the webhook does not exist in this workspace or has already been deleted. A webhook that belongs to another workspace is reported the same way.
  • 401 Unauthorized is returned when the API key is missing or invalid.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Webhook ID with the webhook_ prefix, as returned by Create Webhook.

Example:

"webhook_c9v3nz8rq4pmxa"

Response

Webhook deleted successfully.

success
enum<boolean>
required
Available options:
true
error
enum<boolean>
required
Available options:
false
statusCode
integer
required
Example:

200

message
string
required
Example:

"Success"

data
object
required
timestamp
string<date-time>
required