Verify and enable 2FA
POST/v1/auth/2fa/verify-setup
Verifies a TOTP code and enables two-factor authentication for the user. This endpoint must be called after /setup to confirm the user has successfully configured their authenticator app.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
2FA enabled successfully
bad_request: Invalid input
unauthorized: Unauthorized
Invalid verification code
No pending 2FA setup found
Internal server error