Revoke a provider webhook connection
Cuts the tenant’s inbound webhook channel for one provider, at once.
Providers: BTG.
How it works
- Served only on multi-tenant deployments that issue webhook connections. Elsewhere the endpoint answers
404. - It cuts the current connection and any previous connection still in its rotation grace window.
- The effect is immediate: the first delivery after the call gets
401. - After the cut, call
POST /v1/admin/providers/connectto issue and register a new URL and signing key. Check thatwebhook_subscription_registeredistrue. A connect made before the cut is cut too. revoked_connectionscounts the connections that could still serve a delivery. Zero is a success: nothing was live.- The answer has no credential: no token, no URL and no signing key.
- Use a new
Idempotency-Keyfor every cut. A retry under the same key returns the first answer for 48 hours by default and cuts nothing. If a connect ran between the two calls, the replay still reports the first call’srevoked_connectionswhile the new channel is live. provider_typeis matched case-insensitively. A provider this deployment does not serve gets404.- Requires the
admin:cancelpermission, held byeditor. If you get403, call connect anyway: the exposed pair stops working when the grace window closes (30 minutes by default). Contact support if that cannot wait. - Check the permission before an incident: call this endpoint with a
provider_typethis deployment does not serve (for examplePROBE) and a newIdempotency-Key.404PBP-0005with the detail “No webhook connection exists for that provider on this deployment” means you are authorized, and nothing was cut. A404without that detail means this endpoint is not served on this deployment.403PBP-0004means the permission has not reached you.
POST
Revoke a provider webhook connection

