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
1Define 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 "Content-Type: application/json" \ -d '{}'{}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}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`
Set Primary Email POST
Sets the primary email address for the authenticated user. The email must match one of the trusted emails from the user's existing connections. **Required scopes:** `auth:account:edit`