beel_patch_webhook_subscription
Modify an existing webhook subscription's endpoint URL, event list, active flag, or account scope in place, leaving untouched fields and the signing secret unchanged.
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. Turning a subscription back on counts towards the limit of 10 active subscriptions, and is rejected with400WEBHOOK_ACTIVE_SUBSCRIPTION_LIMIT_REACHEDwhen ten are already active.Signing secret: not touched here. Rotate it with
POST /v1/accounts/{account_id}/webhooks/{webhook_id}/secret.
BeeL API endpoint: PATCH /v1/accounts/{account_id}/webhooks/{webhook_id} (reference: https://docs.beel.es)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"webhook_id": "<webhook_id>",
"body": "<body>"
},
"name": "beel_patch_webhook_subscription"
}
}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. |