Modify a web hook

Updates the configuration of an existing Web Hook. This endpoint allows you to modify one or more properties of a Web Hook, such as the destination URL, enabled status, subscribed events or the description. Changes are applied immediately. Once updated and enabled, the Web Hook will continue delivering HTTP POST notifications according to the new configuration. Use this operation to temporarily disable a Web Hook, adjust event subscriptions, rotate the target URL, or update the description without creating a new Web Hook. Note: The request must include the web_hook root object. Also, when enabled=true, events must be present and non-empty (validation rule).

Path Params
integer
required

A unique internal identifier of the WebHook in B2Brouter.

Body Params
web_hook
object
required
Headers
string
Defaults to 2026-03-02

Specifies the version of the API to use in this request. If not specified uses the API-Version set in the group conifguration B2Brouter UI Application -> Developers -> API Keys -> API Version

Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json