Delete Webhook
Remove a webhook endpoint
DELETE
/webhooks/{webhook_id}Requires
Bearer authenticationPermanently delete a webhook endpoint.
Path Parameters
webhook_idstringrequiredThe unique identifier of the webhook to delete.
DELETE
/webhooks/{webhook_id}curl -X DELETE "https://api.vastal.agency/v1/webhooks/whk_abc123" \ -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch( 'https://api.vastal.agency/v1/webhooks/whk_abc123', { method: 'DELETE', headers: { 'Authorization': 'Bearer YOUR_API_KEY' } } );
200Success
{ "success": true, "message": "Webhook deleted successfully" }