Generating enrollment tokens with Defguard REST API
Last updated
Was this helpful?
Was this helpful?
{
"is_admin": false,
"members": [
"user",
"user2",
"user3"
],
"name": "name",
"vpn_locations": [
"location"
]
}{
"email": "user@example.com",
"send_enrollment_notification": true,
"token_expiration_time": "1w"
}{
"enrollment_token": "NotAnActualEnrollmentToken",
"enrollment_url": "https://enrollment.example.com"
}{
"biometric_enabled_devices": [],
"devices": [],
"security_keys": [],
"user": {
"authorized_apps": [],
"email": "mail@defguard.net",
"email_mfa_enabled": false,
"enrolled": true,
"first_name": "first_name",
"groups": [],
"id": 2,
"is_active": true,
"is_admin": false,
"last_name": "last_name",
"ldap_pass_requires_change": false,
"mfa_enabled": false,
"mfa_method": "None",
"phone": "000000000",
"totp_enabled": false,
"username": "username"
}
}