security
Manage multi-factor authentication
Changed onActivate or deactivate multi-factor authentication for the authenticated user
post/user/mfa
Request
- Base URLhttps://{subdomain}.auth.{region}.nhost.run/v1
- URLhttps://{subdomain}.auth.{region}.nhost.run/v1/user/mfa
- AuthHTTP bearer
Request body
Example request
{
"code": "123456",
"activeMfaType": "totp"
}Response
MFA status successfully updated
'OK' required
Changes
- warning
added the new
otp-too-many-attemptsenum value to theresponse property for the response status
- warning
- warning
added the new
user-already-existsenum value to theresponse property for the response status - info
removed the
email-already-in-useenum value from theresponse property for the response status
- warning