Changes the endpoint URL, description or event selection. Only the fields you send change; null is rejected. A new URL is checked like on create. Event changes apply to events that happen afterwards.
Permission required: webhook:manage
Path Parameters
Identifier of the webhook
Request Body
Switch sending every event type on or off
New description; "" clears it
Replace the selected event types
New endpoint URL. Later deliveries and retries go here; past deliveries keep showing the old one.
Response
true = every event type is sent, including types added in the future; events is then the selection kept for when this is switched off
When the webhook was added, Unix seconds
Description; empty when none was given
auto_disabled = turned off after every delivery failed for 3 days; enable it after fixing the endpoint. One of: enabled, disabled, auto_disabled.
Endpoint URL events are sent to
Identifier of the webhook
Member who added the webhook
Time of the latest attempt, Unix seconds; absent if nothing was sent yet
Whether the latest delivery succeeded
previous_secret_expires_at Until when the previous secret still signs requests after a rotation, Unix seconds; absent outside that window
When the signing secret was last rotated, Unix seconds; absent if never
Errors
Errors answer with success: false, a message and an error_code. See Error Codes for every code.