/orgs/{org}/hooks/{hook_id}Update an organization webhook
Updates a webhook configured in an organization. Supply the webhook fields you want to change, and include config.url whenever config is provided because the URL is required within that object. Updating the webhook overwrites its secret; provide the existing secret to retain it or provide a new secret to replace it.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Webhook update fields. All top-level fields are optional, but config.url is required when config is supplied.
A 404 is returned when the organization webhook identified by hook_id cannot be found. A 422 is returned when the payload fails validation or the endpoint has been spammed. If you provide config, its url must be a valid URI; content_type supports json and form, and events defaults to push while active defaults to true when omitted.