beel_patch_webhook_subscription
Update an existing webhook subscription's URL, subscribed events, active status, or account relationship while preserving unmentioned settings.
Instructions
Updates the fields present in the body — url, events, active,
account_relationship — and leaves the rest untouched.
events: replaces the whole list, it does not add to it, so an event left out of it stops being delivered.active: setting it tofalsestops deliveries without discarding the delivery history. A subscription we turned off ourselves (deactivated_by: beel) needs a successful test delivery before it can be turned back on.Signing secret: not touched here. Rotate it with
POST /v1/accounts/{account_id}/webhooks/{webhook_id}/secret.
Endpoint: PATCH /v1/accounts/{account_id}/webhooks/{webhook_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| account_id | Yes | Your own account, or an account you provisioned. It — not the credential, and not the `BeeL-Active-Company` header — decides which account the operation acts on. An account you do not reach answers `403`, and so does an account that does not exist, so the existence of somebody else's account is never disclosed. | |
| webhook_id | Yes | Subscription of the account in the path. A subscription of another account answers `404`, the same as one that does not exist: under the account resolved from `{account_id}` it simply is not there. |