Verify an email MFA code
post
Authorizations
defguard_sessionstringRequired
Body
codestringRequired
Responses
200
Email MFA code verified, user is fully authenticated.
application/json
Return type needed for knowing if a user came from OpenID flow. If so, fill in the optional URL field to redirect him later.
urlstring · nullableOptional
401
Session is missing or invalid.
application/json
404
User not found.
application/json
429
Too many failed login attempts for this user.
application/json
500
Unable to verify email MFA code.
application/json
post/api/v1/auth/email/verify
Last updated
Was this helpful?