Delete a webhook endpoint
DELETE
/v1/webhook-endpoints/{id}Requires an API client bearer token.
Deregisters a webhook endpoint; pending deliveries are dropped. Requires an Idempotency-Key header.
Parameters
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Header parameters
| Name | Required | Description |
|---|---|---|
| Idempotency-Key | required | Client-chosen. An identical retry with the same key returns the stored response; reusing the key with a different payload returns 409. |
Example
curl -X DELETE https://api.rigid.fi/v1/webhook-endpoints/{id} \
-H "Authorization: Bearer $RIGID_API_TOKEN" \
-H "Idempotency-Key: $(uuidgen)"Responses
204Endpoint deleted.
400Validation error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401Authentication required
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403Forbidden
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404Webhook endpoint not found
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
409Idempotency-Key reused with a different payload
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500Internal server error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring