Update a webhook
Webhooks
Update a webhook
Change a webhook’s URL, events, description, or disabled state.
PATCH
Update a webhook
Partially updates a webhook. Only the fields you send are changed. The signing
secret cannot be changed; to rotate it, delete the webhook and create a new one.
Returns the updated webhook object.
Path parameters
The webhook’s
id (UUID).Request body
New target URL. Must be
https://.Replacement list of event types, or
["*"] for all.New label (max 255 characters).
Set
true to pause deliveries without deleting the webhook.Examples
Errors
| Status | Cause |
|---|---|
404 | Webhook not found or you don’t have access. |
422 | Body failed validation: non-https URL, empty or unknown enabled_events. |