/admin/hooks/{id}Update a global system webhook
Updates selected properties of a global system webhook. Supply only the fields you want to change in the optional body, including activation, authorization, branch filtering, configuration, or subscribed events. Omitted fields retain their existing values.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The 64-bit integer identifier of the hook to update.
Optional partial update containing the webhook properties to change.
Whether the webhook is active.
The authorization header value to include when delivering webhook requests.
The branch pattern that limits which branch changes trigger the webhook.
Webhook configuration represented as an object of string values.
The list of events that trigger webhook deliveries.
Deprecated: use Metadata instead
id must be an integer identifying the global webhook to update. Any supplied body fields must use their declared types, with active as a boolean, events as an array of strings, and config as an object of string values.