DEL
/api/v1/webhooks/{id}Scope: webhooks:manage
Removes the endpoint and its delivery log. Nothing more is sent to that URL. Requires the "webhooks:manage" scope.
Path parameters#
| Field | Type | Description |
|---|---|---|
idrequired | string | Awrora id (UUID) for the endpoint. |
Example request#
bash
curl -X DELETE "https://your-site.awrora.app/api/v1/webhooks/id_8f2k3n" \
-H "Authorization: Bearer $AWRORA_API_KEY"Responses#
204Deleted. No content.401Missing, invalid, revoked or expired API key — codes "api_key_missing", "api_key_invalid", "api_key_revoked", "api_key_expired".403The API app is off, the plan does not include the API, or the key lacks the required scope — codes "app_not_enabled", "plan_upgrade_required", "insufficient_scope" (the last carries "required_scope").404No such resource. The same response is returned for a resource that belongs to another organization — code "not_found".429Rate limit exceeded — code "rate_limited". See the x-ratelimit-* headers.500Something went wrong on our side — code "internal_error".