Remove Connection
Unlinks an identity provider from the authenticated user's account. At least one connection must remain.
Required scopes: auth:account:edit
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Identity provider slug to remove
1 <= length <= 64Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AccountService/RemoveConnection" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}Regenerate MFA Recovery Codes POST
Generates a fresh set of one-time recovery codes, invalidating the old set. Requires a current TOTP or recovery code to prove possession of the second factor. **Required scopes:** `auth:account:edit`
Revoke Other Sessions POST
Ends every session of the authenticated user except the one whose token is given. Access tokens those sessions already hold stay valid until they expire (at most an hour). Callable only with a portal session token. **Required scopes:** `auth:account:edit`