Update MFA settings
Update MFA settings for the user. This endpoint requires identity verification and the Identities scope. Controls whether MFA verification is required during sign-in when the user has MFA configured.
PATCH
/api/my-account/mfa-settings
curl \
--request PATCH 'https://[tenant_id].logto.app/api/my-account/mfa-settings' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"requireMfaOnSignIn":true}'
Request examples
{
"requireMfaOnSignIn": true
}