Skip to main content
PATCH
Update an existing Webhook’s status or custom delivery headers in place without recreating it. Send status alone to disable or reactivate a Webhook, or send headers alone to replace or clear its custom headers. Disabling a Webhook is a temporary action, allowing for it to be reactivated later, whereas Deleting a Webhook is a permanent action.

Path Parameters

string
required
The ID of the Webhook to update.

Body

enum
The status to set for the Webhook. Send status alone; it cannot be combined with headers. One of active or disabled
object
Replaces the Webhook’s custom delivery headers as a whole; send null to clear them. Cannot be combined with status. Only active and requires_attention Webhooks can update headers (reactivate a disabled Webhook first). Up to 10 allowlisted headers; reserved headers such as Authorization and method-* cannot be set.

Returns

Returns the updated Webhook object.