Skip to main content
Search...C
Webhooks

Delete Webhook

Permanently deletes a webhook endpoint. Once deleted, the endpoint will no longer receive any events. This action cannot be undone.

Endpoint

DELETE/api/v1/webhooks/:id

Path Parameters

NameTypeDescription
idrequiredstringThe unique identifier of the webhook to delete

Response

Returns a confirmation object with the deleted webhook's ID.

Response Schema
{
  "id": "wh_abc123",
  "deleted": true
}

Example

cURL
curl -X DELETE "https://api.adbuy.ai/api/v1/webhooks/wh_abc123" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "id": "wh_abc123",
  "deleted": true
}

Warning: Deleting a webhook is permanent. If you want to temporarily stop receiving events, consider updating the webhook to set active: false instead.