Auth Connections

Delete an auth connection

DELETE
/api/auth-connections/{connectionId}

Any workflow still pointing at this connection begins failing its authenticated calls. The cached token is dropped with it.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

connectionId*string

The connection id. Must be an ObjectId.

Match^[a-f\d]{24}$

Query Parameters

organizationId?string

Organization to act on. Defaults to the caller's own when omitted or empty. Only a SUPERADMIN may name a different one; an ADMIN doing so is refused with 403, and a value that is not an ObjectId is refused with 400 rather than falling back to the caller's own organization.

Match^[a-f\d]{24}$

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/auth-connections/string"
{  "success": true,  "message": "Connection deleted"}