Initiate MFA Factor Enrollment With Verification or MFA Factor Enrollment Without Verification

post

/mfa/v1/users/{userGUID}/factors

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Initiate MFA Enrollment Schema
Root Schema : InitiateEnrollment
Type: object
Use this schema to initiate enrollment of MFA factors with or without factor verification. The enrollment is a 2-step process if verification is required. In case of enrollment without verification, it is a single step process.
Show Source
  • This attribute is considered only if the method is set to SMS or PHONE_CALL.
    This is the international country code that should be prefixed to the mobile number, to be enrolled for SMS or PHONE_CALL.
  • It indicates the factor or method that the user wants to enroll for MFA. Supported values for this attribute are:
    • SMS
    • PHONE_CALL
    • TOTP
    • PUSH
    • EMAIL
    • SECURITY_QUESTIONS

    Depending on the method being enrolled for, additional attributes of this schema may need to be provided.
  • This attribute is considered only if the method is set to SMS or PHONE_CALL.
    This is the mobile number that the user wants to enroll for the SMS or PHONE_CALL factor.
  • This attribute is considered only if the method is set to TOTP.
    Supported values for this attribute are:
    • true
    • false
    A value of 'true' indicates that the user wants to enroll for the offline TOTP factor. By default, the user is enrolled for the online TOTP method if this value is false or is missing.
  • This attribute is considered only for offline TOTP method and if skipFactorVerification is set to true. If otpCode is provided, the sharedSecret passed is used to generate an otpCode and is validated with the passed otpCode value, before enrolling the TOTP factor.
  • Shared Secret of the hardware device or third party provider which has to be enrolled for offline TOTP. This attribute is considered only if skipFactorVerification is set to true.
  • This attribute indicates that factor verification should be skipped during enrollment.Supported values for this attribute are:
    • true
    • false

    This attribute is applicable only for SMS, PHONE_CALL, EMAIL and offline TOTP factors.
Back to Top

Response

Supported Media Types

200 Response

Indicates that the enrollment request was accepted and initiated successfully.

400 Response

Indicates that the request payload is invalid.

401 Response

Indicates that the enrollment request failed due to an invalid token or an inactive or locked user.

404 Response

Indicates that the userGUID provided is invalid.

500 Response

Internal Server error
Back to Top