Internal
Force-invalidate connector connections
Server-to-server endpoint supporting exact connection, user, immutable credential-org, connector, or combined targets. Product/service principals are bound to configured connector(s) and selector classes. Global control requires an explicit platform_admin principal. Matches become invalidated tombstones; credentials are cleared and upstream revocation is attempted.
post/v1/internal/connections/invalidate
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/internal/connections/invalidate
- Auth: one of:
- API key in header X-Connector-Signature
- HTTP bearer
Request body
Example request
{
"connection_id": "123e4567-e89b-12d3-a456-426614174000",
"connector": "canvas",
"org_id": "org_01HABCDEF",
"reason": "subscription_ended",
"workos_user_id": "user_01HABCDEF"
}Response
Invalidation result.
Example response
{
"invalidated": true,
"matched": 1,
"revoked": 1
}Changes
No recorded changes to this operation across all 50 revisions of this API.