Mark the user's MFA as enabled for the current interaction and persist in DB user configs upon successful submission.
Responses
-
The MFA has been successfully marked as enabled. This is typically useful for optional MFA scenarios as the client can prompt an MFA enrollment flow if the user has not enabled MFA yet, for added security.
-
Not supported for the current interaction event. The MFA profile API can only be used in the
SignInorRegisterinteraction. -
MFA verification is required but has not been completed. The user must verify the existing MFA before updating MFA settings.
-
The user has not been identified yet. The
mfa-enabledconfiguration must be associated with an identified user.
POST
/api/experience/profile/mfa/mfa-enabled
curl \
--request POST 'https://[tenant_id].logto.app/api/experience/profile/mfa/mfa-enabled'