Create a knowledge question enrollment.

Create a knowledge question enrollment.

If the number of answers submitted is fewer than the minimum required for a valid enrollment, then the enrollment is created but is considered incomplete. The 'validated' attribute value is 'false' and the enrollment is not available for productive runtime verifications.

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.

NB: To have this feature installed on the tenant please contact support.

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 that is used in the runtime flows

object
required

A knowledge questions enrollment's attributes.

object
required

A knowledge questions enrollment's references.

Responses

Language
URL
Choose an example:
application/json