Bulk start user enrollment
post
Authorizations
defguard_sessionstringRequired
Body
send_enrollment_notificationbooleanOptional
Whether to send enrollment email to each user (uses user's stored email).
token_expiration_timestring · nullableOptional
Token expiration override in humantime format, for example 24h. Falls back to the
system setting.
usersinteger · int64[]Required
Responses
200
Enrollment started.
application/json
objectOptional
400
The list contains unknown user IDs or your own account.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
500
Unable to start enrollments.
application/json
post/api/v1/user/bulk-start-enrollment
Last updated
Was this helpful?