Change Default MFA Factor or Un-Enroll in MFA

patch

/mfa/v1/users/{userGUID}

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Change Default Factor or Unenroll MFA Schema
Root Schema : ChangeDefaultFactor
Type: object
Use this schema to change default factor or to unenroll MFA factors
Show Source
  • This attribute indicates that the user wants to disable MFA from his profile. This removes all enrolled factors from a user's profile. Supported values for this attribute are:
    • true
    • false
    This should only be invoked by a user who is already enrolled for MFA.
  • This attribute contains the unique identifier of an enrolled factor that the user wants to set as his default MFA factor. In case of SECURITY_QUESTIONS method, this attribute should have it's value set to -'SecurityQuestions'
  • This attribute indicates the MFA method that the user wants to set as his default method of authentication. Supported values for this attribute are:
    • SMS
    • PHONE_CALL
    • TOTP
    • PUSH
    • EMAIL
    • SECURITY_QUESTIONS

    When a user wants to change his default MFA factor, this attribute also needs the preferredFactorId attribute to be provided.
Back to Top

Response

Supported Media Types

200 Response

Indicates successful profile update.

400 Response

Indicates that the request payload is invalid.

401 Response

Indicates that the profile update request failed due to an invalid token, or an inactive or locked user, or if the user hasn't enrolled in any MFA factors.

404 Response

Indicates that the userGUID provided is invalid.

500 Response

Internal Server error
Back to Top