Revoke the tenant's inbound webhook connection for a provider
Cuts this tenant’s inbound webhook channel for one provider, immediately.
WHO MAY CALL IT. The caller needs the admin:cancel permission, which the editor role carries. A caller without it is refused with 403 PBP-0004 before the operation runs.
This operation is served in multi-tenant deployments only.
WHAT IS CUT: the tenant’s current connection for the provider and any previous connection still inside its rotation grace window.
THE EFFECT IS IMMEDIATE: the first delivery after this call answers 401.
revoked_connections reports how many connections were still able to serve a delivery and are not any more. ZERO IS A SUCCESS: it means nothing was live, because the channel was already cut or the tenant never connected.
A retry carrying the SAME Idempotency-Key returns the stored answer of the first call for 48 hours by default, without cutting anything. If a connect ran between the two calls, that replay still reports the first call’s revoked_connections while the newly issued channel is live. Use a FRESH Idempotency-Key for every cut.
THE ANSWER CARRIES NO CREDENTIAL: no connection token, no delivery URL and no signing key. Restoring the channel means calling provider connect again.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Tenant organization ID. Optional. The organization context is determined by the credentials you authenticate with; this header does not select or change it.
Client-supplied idempotency key, a UUID. Required: a request without it, with a value that is not a UUID, or with the nil UUID (00000000-0000-0000-0000-000000000000) is refused with 400 PBP-0012.
Path Parameters
Provider whose inbound webhook channel is being cut, for example BTG. Matched case-insensitively; a provider this deployment does not serve is refused with 404 rather than answered with a count of zero.
"BTG"

