Docs
Live demo
POST/api/v2/auth/mfa/recovery-codes
Signed-in sessionConsole session only

Replace the recovery code set after a fresh step-up verification. The plaintext codes are returned once.

Responses

200

OK

MFARecoveryCodesResponse · 1 field
recovery_codesarray of stringrequired
409

Conflict

429

Rate limited (request.rate_limited). Identity lockout returns details.reason=mfa_locked and details.retry_at (UTC RFC3339). Retry-After is the delay in seconds.

Common errors: 401 403 500 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close