Delete a webhook endpoint
webhook.endpoint.delete
Terminally retires an endpoint: delivery stops immediately, queued deliveries are never attempted, and the endpoint cannot be updated or re-enabled. The row is kept as an audit record (deliveries reference it) but its signing secrets stop verifying new deliveries because none are created.
POST /v1/webhook-endpoints/{webhookEndpointId}/delete
Scopes: webhook:write
Input
| Field | Type | Description |
|---|---|---|
webhookEndpointId required | string | Hyperscale outbound webhook endpoint ID |
reason required | string | |
idempotencyKey required | string | New per change; reuse only to retry it. |
Request sample
curl --request POST 'https://console.hyperscale0.ai/v1/webhook-endpoints/{webhookEndpointId}/delete' \
--header "Authorization: Bearer $HYPERSCALE_API_KEY" \
--header 'X-Hyperscale-Environment: sandbox' \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "<string>",
"idempotencyKey": "<string>"
}'