beel_patch_webhook_subscription
Update a webhook subscription's URL, event list, or active status, replacing the entire event list and leaving other fields unchanged. Use it to pause or resume deliveries without losing history.
Instructions
Updates the fields present in the body — url, events, active — and
leaves the rest untouched. Sending events replaces the whole list, it
does not add to it, so an event left out of it stops being delivered.
The signing secret is not touched here; rotate it with
POST /v1/accounts/{account_id}/webhooks/{webhook_id}/secret. Setting
active to false stops deliveries without discarding the delivery
history.
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. |