Skip to main content

Enroll User

Enroll a user with user name username and email address email and send them an enrollment email that expires after valid_secs seconds.

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

Workflow LibraryPreview this Workflow on desktop