Regenerate MFA Recovery Codes
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
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
A current TOTP code or recovery code, to prove possession of the second factor.
6 <= lengthResponse Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AccountService/RegenerateMfaRecoveryCodes" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"recoveryCodes": [
"string"
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Complete Passkey Registration POST
Verifies the attestation and stores the passkey for the authenticated user. Requires a recent login (step-up). **Required scopes:** `auth:account:edit`
Remove Connection POST
Unlinks an identity provider from the authenticated user's account. At least one connection must remain. **Required scopes:** `auth:account:edit`