Enroll a user and send them an enrollment email that expires after Valid Seconds seconds. Note: This action requires the Grant resource - Read API permission.
External DocumentationTo learn more, visit the Duo documentation.

Basic Parameters

ParameterDescription
EmailThe email address of the user to enroll.
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. Defaults to 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