Skip to main content
Permanently remove an endpoint. Deliveries to it stop immediately and its signing secret is destroyed. DELETE /v1/webhooks/{id}

Path parameters

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

Request

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

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.