Update a Webhook
Update a webhook's domains and/or event types.
Update a webhook's scoped domains and/or subscribed event types. All fields are optional — only the fields you include will be updated.
Scope: webhooks.write
Path Parameters
webhook_idstringrequiredThe ID of the webhook to update.
Request Body
domainsinteger[]optionalOptional. Replaces the webhook's scoped domain IDs.
event_typesstring[]optionalOptional. Replaces the webhook's subscribed event types.
Sample Response
Returns the updated webhook object.