Enroll User

Enroll a user in Duo Security Admin.

Unless otherwise indicated, field types are text.

Required fields are indicated by a red asterisk.

Input Fields


  • Username: user's primary Duo username

  • Email: email address to which the enrollment email is sent. Note: This doesn't have to match the user's email.

  • Valid For: number of seconds for which the enrollment code is valid. Default is 2592000 (30 days).

Output Fields


  • Enrollment Code: enrollment code that is generated and sent in the enrollment email notification.