更新用户的双因素认证设置。用户必须输入一次性代码来确认更改。
此调用的使用流程:
您必须为登录管理器项目启用双因素认证。请联系您的客户成功经理来启用。
login_url | string 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. For the scenario of a login error, the value should be identical to the the Error callback URL specified in the URL block of Publisher Account. To find the settings, go to Login > your Login project and select the Callback URLs section in the upper block. Required if there are several Callback URLs. |
mfa_type required | string Type of the second factor. You must enable the specified type for the Login project. Contact your Customer Success Manager to set it up. |
enabled | boolean Default: false 双因素认证设置的状态。设置为 |
locale | string
|
确定
未授权
无法处理的实体
请求过多
{- "enabled": true,
- "mfa_type": "email"
}