Skip to main content
Delete a webhook endpoint. Yativo will stop delivering events to this URL immediately.
DELETE https://api.yativo.com/api/v1/business/webhook/{webhook_id}

Path parameters

webhook_id
string
required
The ID of the webhook to delete. Returned when the webhook was created.
curl -X DELETE 'https://api.yativo.com/api/v1/business/webhook/wh-01abc123' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
const response = await fetch(
  `https://api.yativo.com/api/v1/business/webhook/${webhookId}`,
  {
    method: 'DELETE',
    headers: { 'Authorization': `Bearer ${token}` },
  }
);
const data = await response.json();
{
  "status": "success",
  "status_code": 200,
  "message": "Webhook deleted successfully"
}
{
  "status": "error",
  "status_code": 404,
  "message": "Webhook not found"
}