POST /api/experience/profile/mfa/mfa-enabled

Mark the user's MFA as enabled for the current interaction and persist in DB user configs upon successful submission.

Responses

  • 204

    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.

  • 400

    Not supported for the current interaction event. The MFA profile API can only be used in the SignIn or Register interaction.

  • 403

    MFA verification is required but has not been completed. The user must verify the existing MFA before updating MFA settings.

  • 404

    The user has not been identified yet. The mfa-enabled configuration 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'