Delete a Webhook

DELETE/api/webhooks/{id}

Removes the subscription together with its delivery logs and any deliveries still waiting in the queue. Nothing is delivered to that URL afterwards, not even an event that was queued before the deletion.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Webhook unique ID
curl -X DELETE "https://yoursite.com/api/webhooks/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{ "status": 200, "messages": { "success": "Record deleted" } }

Error-Response:

HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }
MethodDELETE
Path/api/webhooks/{id}
GroupWebhooks
Sincev1.0.0
Defined inRestApi/Controllers/WebhooksController.php