Webhooks
Delete Webhook
Delete a webhook and its deliveries
DELETE
/
api
/
v1
/
webhooks
/
{id}
curl --request DELETE \
--url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
--header 'x-api-key: YOUR_API_KEY'
{
"error": "Webhook not found"
}
Delete a webhook, its secrets and its deliveries. This cannot be undone. To pause a
webhook, send
status: "disabled" with Update Webhook.
Requires the
webhooks_manage scope.Request
Path parameters
string
required
Webhook identifier (UUID).
Response
On success, the API returns204 No Content with an empty body.
Error responses
| Status | Description |
|---|---|
400 | Invalid request. See the error message. |
401 | Invalid API key. |
403 | No API key, or an API key without the webhooks_manage scope. |
404 | Webhook not found, or it belongs to another API key. |
500 | Internal server error. |
curl --request DELETE \
--url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
--header 'x-api-key: YOUR_API_KEY'
{
"error": "Webhook not found"
}
⌘I
curl --request DELETE \
--url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
--header 'x-api-key: YOUR_API_KEY'
{
"error": "Webhook not found"
}