Start MFA enrollment
POST/auth/mfa/enroll
Begins TOTP-based MFA enrollment for a user. Returns the TOTP secret, a QR code data URL for scanning with an authenticator app, and a set of one-time backup codes.
Request
Responses
- 200
- 400
- 404
- 409
MFA enrollment started successfully
Validation error or user missing email
User not found
MFA already enabled for this user