Update Webhook Endpoint
Changes the delivery url, the subscribed event types, or both. Omitted fields keep their current value; the signing secret is never changed here (use RotateWebhookEndpointSecret).
Required scope: webhooks:manage
Error Codes:
- WEBHOOK_NOT_FOUND: No such endpoint in the caller’s tenant.
- DEVELOPER.WEBHOOK_URL_INVALID: The url is not https or resolves to a private address.
- DEVELOPER.WEBHOOK_EVENT_INVALID: An event type is unknown.
Авторизации
Параметры пути
Endpoint id (UUID) to update.
Тело
Endpoint id (UUID) to update.
Replacement set of event types; the same closed vocabulary as on create. An empty list keeps the current subscription — it does not unsubscribe.
New delivery target, with the same rules as on create. Omit to keep the current url. Changing it also clears the consecutive-failure counter, so a fix does not inherit the dead host's failures.
Ответ
OK
The endpoint after the update.