Requires “Grant write resource” API permission.

Basic Parameters

ParameterDescription
EmailThe email address of this user.
UsernameThe user name (or username alias) of the user to enroll.

Advanced Parameters

ParameterDescription
Valid SecondsThe number of seconds the enrollment code should remain valid.Default: 2592000 (30 days).

Example Output

{    "response": "ba6e8bb687017eff",    "stat": "OK"}

Workflow Library Example

Enroll User with Duo and Send Results Via Email

Preview this Workflow on desktop