Create a voice one-time password enrollment.

Create a voice one-time password enrollment.

If the authenticated user has the entitlement 'manageEnrollMFAMethodAnyUser', then the 'userId' attribute must be present in the request payload. Otherwise, the enrollment is associated with the authenticated user.

Entitlements:
- manageEnrollMFAMethodAnyUser (Manage second-factor authentication enrollment for all users)
- manageEnrollMFAMethod (Manage own second-factor authentication enrollment)

Body Params

A JSON payload that specifies the enrollment data.

string

The unique identifier of the associated user

boolean

The enabled state of the enrollment to be used in runtime flows

string
required

The phone number to be used to deliver one-time password values

Responses

Language
URL
Choose an example:
application/json