APIDelete Webhook

Delete Webhook

Delete a webhook configuration from a project.

DELETE/v2/projects/{project_id}/integrations/webhooks/{webhook_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

webhook_idstringRequired

The unique identifier of the webhook to delete.

Request
curl -X DELETE "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/integrations/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer YOUR_TOKEN"
Webhook deletedapplication/json
{
  "ok": true,
  "request_id": "11111111-1111-1111-1111-111111111111",
  "method": "DELETE",
  "path": "/v2/projects/YOUR_PROJECT_ID/integrations/webhooks/WEBHOOK_ID",
  "code": 200,
  "message": "Webhook deleted successfully",
  "data": null
}

Last updated: