Delete a Webhook

DELETE/api/webhooks/{id}

Deletes the webhook together with its delivery logs and queued jobs.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X DELETE "https://yoursite.com/api/webhooks/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Webhook deleted successfully"
}

Error-Response:

HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Webhook not found"
}
MethodDELETE
Path/api/webhooks/{id}
GroupWebhooks
Sincev3.0.0
Defined inmodules/api/controllers/Webhooks.php