Skip to content

Documentation

Delete a webhook endpoint

DELETE/v1/webhooks/{webhook}Webhooks

Stops deliveries at once; what was waiting and the delivery log go with it.

Parameters

ParameterTypeRequiredDescription
webhookstring, in the pathrequiredThe 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

FieldTypeDescription
deletedtrue

Errors

StatusMeaning
401The API key is missing, malformed or revoked.
404No webhook endpoint by that id in this account.
429Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason).

Back to getting started