Documentation
Delete a webhook endpoint
DELETE
/v1/webhooks/{webhook}WebhooksStops deliveries at once; what was waiting and the delivery log go with it.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
webhook | string, in the path | required | The endpoint's id. |
Example request
curl -s -X DELETE "https://snip.link/v1/webhooks/webhook" \ -H "Authorization: Bearer $SNIP_KEY"
Example response
{
"deleted": true
}Response fields
| Field | Type | Description |
|---|---|---|
deleted | true |
Errors
| Status | Meaning |
|---|---|
| 401 | The API key is missing, malformed or revoked. |
| 404 | No webhook endpoint by that id in this account. |
| 429 | Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason). |