Skip to main content

Replace a webhook's routing configuration

PUT 

/api/v1/webhooks/:webhook_id/rules

set_webhook_rules through the same save path: validation against the grant, a dry run against the webhook's 50 latest deliveries, and a row-locked write that answers conflict if the stored rules changed meanwhile. Any failure keeps the previous configuration. A body without a params key KEEPS the stored params; "params": null clears them (the MCP set_webhook_rules now gives an omitted params the same keep answer, and clears only on an explicit "params": {}). Read-only fields of a GET response are ignored.

Request​

Responses​

Saved; the stored configuration.