DELETE
/v1/webhooks/{webhook_id}Delete a webhook
Deletes a webhook subscription and stops future deliveries.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
webhook_id | string | Yes | Webhook identifier. |
Response schema · 200
{
"deleted": true,
"webhook_id": "wh_123"
}Response example
{
"deleted": true,
"webhook_id": "wh_123"
}Code examples
curl https://api.tracklayer.com/v1/webhooks/wh_123 \
-X DELETE \
-H "Authorization: Bearer ${API_KEY}"Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.