Docs
API · webhooks

Delete a webhook

Permanently remove an endpoint. Deliveries to it stop immediately and its signing secret is destroyed.

DELETE/v1/webhooks/{id}

01 Path parameters

idstringRequired
The webhook endpoint id to delete.
IrreversibleThe endpoint and its signing secret are gone for good. To temporarily stop deliveries while keeping the secret, send { "enabled": false } to update instead.

02 Request

curl -X DELETE https://api.drin.run/v1/webhooks/wh_3kQ9p2 \
  -H "Authorization: Bearer $DRIN_API_KEY"

03 Response

Returns 204 No Content with an empty body on success. An id that is unknown or not visible to this project returns 404 not_found.