Update a webhook endpoint
webhook.endpoint.update
Updates an endpoint's delivery URL, enabled event set, or description. The signing secret and product scope never change here: rotate the secret with webhook.endpoint.secret.rotate, and create a new endpoint to target a different product.
PATCH /v1/webhook-endpoints/{webhookEndpointId}
Scopes: webhook:write
Input
| Field | Type | Description |
|---|---|---|
webhookEndpointId required | string | Hyperscale outbound webhook endpoint ID |
reason required | string | |
url | string | |
enabledEvents | object[] | |
description | object | |
idempotencyKey required | string | New per change; reuse only to retry it. |
Request sample
curl --request PATCH 'https://console.hyperscale0.ai/v1/webhook-endpoints/{webhookEndpointId}' \
--header "Authorization: Bearer $HYPERSCALE_API_KEY" \
--header 'X-Hyperscale-Environment: sandbox' \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "<string>",
"idempotencyKey": "<string>"
}'