Updates user’s two-factor authentication settings. The user must confirm the changes by entering a one-time code.
The workflow of using this call:
You must enable two-factor authentication for the Login project. Contact your Account Manager to enable it.
URL to redirect the user to after account confirmation, successful authentication, two-factor authentication configuration, or password reset confirmation. Must be identical to the Callback URL specified in the URL block of Publisher Account. To find it, go to Login > your Login project > General settings. Required if there are several Callback URLs.
Enum: "email" "sms"
Type of the second factor. Can be:
Status of two-factor authentication settings. Set
Too Many Requests
- "enabled": true,
- "mfa_type": "email"