Generate MFA Recovery Codes
Regenerate Recovery Codes¶
- Route:
POST /mfa/regenerate-codes
- Description: Generates new MFA recovery codes for the user.
- Method:
POST
- Successful Response:
- Status Code:
200 OK
- Content:
{ "recovery_codes": ["string", "string", ...] }
- Status Code:
- Bad Response:
- Status Code:
400 Bad Request
- Content:
{ "detail": "Failed to regenerate recovery codes" }
- Status Code: