curl --request POST \
--url https://local.auth.local.nhost.run/v1/user/mfa \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"activeMfaType": "totp",
"code": "<string>"
}'
"<string>"
Toogle MFA
curl --request POST \
--url https://local.auth.local.nhost.run/v1/user/mfa \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"activeMfaType": "totp",
"code": "<string>"
}'
"<string>"
JSON Web Token to authorize requests.
The body is of type object
.
Success
The response is of type string
.
Was this page helpful?