Users

Get all users

get
Authorizations
Responses
get
/api/users

Get an individual user

get
Authorizations
Path parameters
usernamestringRequired

Username of the user to fetch

Responses
get
/api/users/{username}

Create a user

post
Authorizations
Path parameters
usernamestringRequired

Username of the user to create

Body
account_disabledbooleanOptional
auth_typestringOptional
display_namestringOptional
external_identity_provider_idstringOptional
is_mfa_enabledbooleanOptional
isadminbooleanOptional

deprecated

issuperadminbooleanOptional

deprecated

last_login_timestringOptional
passwordstring · min: 5Required
platform_role_idstring · enumOptionalPossible values:
totp_secretstringOptional
usernamestring · min: 3Optional
Responses
post
/api/users/{username}

Update a user

put
Authorizations
Path parameters
usernamestringRequired

Username of the user to update

Body
account_disabledbooleanOptional
auth_typestringOptional
display_namestringOptional
external_identity_provider_idstringOptional
is_mfa_enabledbooleanOptional
isadminbooleanOptional

deprecated

issuperadminbooleanOptional

deprecated

last_login_timestringOptional
passwordstring · min: 5Required
platform_role_idstring · enumOptionalPossible values:
totp_secretstringOptional
usernamestring · min: 3Optional
Responses
put
/api/users/{username}

Delete a user

delete
Authorizations
Path parameters
usernamestringRequired

Username of the user to delete

Query parameters
force_delete_configsstringOptional

Force delete configs

Responses
delete
/api/users/{username}

Disable a user's account

post
Authorizations
Path parameters
usernamestringRequired

Username of the user to disable

Query parameters
force_disable_configsstringOptional

Force disable configs

Responses
post
/api/users/{username}/disable

Enable a user's account

post
Authorizations
Path parameters
usernamestringRequired

Username of the user to enable

Query parameters
force_enable_configsstringOptional

Force enable configs

Responses
post
/api/users/{username}/enable

Get user remote access gateways

get
Authorizations
Path parameters
usernamestringRequired

Username to fetch all the gateways with access

Query parameters
device_idstringOptional

Device ID

remote_access_clientidstringOptional

Remote access client ID

from_mobilestringOptional

If 'true', returns array format

Responses
get
/api/users/{username}/remote_access_gw

Attach user to a remote access gateway

post
Authorizations
Path parameters
usernamestringRequired

Username

remote_access_gateway_idstringRequired

Remote Access Gateway ID

Responses
post
/api/users/{username}/remote_access_gw/{remote_access_gateway_id}

Remove user from a remote access gateway

delete
Authorizations
Path parameters
usernamestringRequired

Username

remote_access_gateway_idstringRequired

Remote Access Gateway ID

Responses
delete
/api/users/{username}/remote_access_gw/{remote_access_gateway_id}

Get a user's preferences and settings

get
Authorizations
Path parameters
usernamestringRequired

Username of the user

Responses
get
/api/users/{username}/settings
200

OK

Update a user's preferences and settings

put
Authorizations
Path parameters
usernamestringRequired

Username of the user

Body
reduced_motionbooleanOptional
text_sizestringOptional
themestring · enumOptionalPossible values:
Responses
put
/api/users/{username}/settings

Validate a user's identity

post
Authorizations
Path parameters
usernamestringRequired

Username

Body
passwordstringOptional
Responses
post
/api/users/{username}/validate-identity

Create a super admin

post
Body
account_disabledbooleanOptional
auth_typestringOptional
display_namestringOptional
external_identity_provider_idstringOptional
is_mfa_enabledbooleanOptional
isadminbooleanOptional

deprecated

issuperadminbooleanOptional

deprecated

last_login_timestringOptional
passwordstring · min: 5Required
platform_role_idstring · enumOptionalPossible values:
totp_secretstringOptional
usernamestring · min: 3Optional
Responses
post
/api/users/adm/createsuperadmin

Check if the server has a super admin

get
Responses
get
/api/users/adm/hassuperadmin

Transfer super admin role to another admin user

post
Authorizations
Path parameters
usernamestringRequired

Username of the user to transfer super admin role

Responses
post
/api/users/adm/transfersuperadmin/{username}

List users attached to a remote access gateway

get
Authorizations
Path parameters
ingress_idstringRequired

Ingress Gateway ID

Responses
get
/api/users/ingress/{ingress_id}

Get all pending users

get
Authorizations
Responses
get
/api/users_pending

Delete all pending users

delete
Authorizations
Responses
delete
/api/users_pending

Approve a pending user

post
Authorizations
Path parameters
usernamestringRequired

Username of the pending user to approve

Responses
post
/api/users_pending/user/{username}

Delete a pending user

delete
Authorizations
Path parameters
usernamestringRequired

Username of the pending user to delete

Responses
delete
/api/users_pending/user/{username}

Get an individual user with role info

get
Authorizations
Query parameters
usernamestringRequired

Username

Responses
get
/api/v1/users

Get user access tokens

get
Authorizations
Query parameters
usernamestringRequired

Username

Responses
get
/api/v1/users/access_token

Create a user API access token

post
Authorizations
Body
created_atstringOptional
created_bystringOptional
expires_atstringOptional
idstringOptional
last_usedstringOptional
namestringOptional
user_namestringOptional
Responses
post
/api/v1/users/access_token

Delete user access tokens

delete
Authorizations
Query parameters
idstringRequired

Token ID

Responses
delete
/api/v1/users/access_token

Add user to network

put
Authorizations
Query parameters
usernamestringRequired

Username

network_idstringRequired

Network ID

Responses
put
/api/v1/users/add_network_user

Get a user group

get
Authorizations
Query parameters
group_idstringRequired

Group ID

Responses
get
/api/v1/users/group

Create a user group

post
Authorizations
Body
membersstring[]Optional
Responses
post
/api/v1/users/group

Update a user group

put
Authorizations
Body
color_codestringOptional
defaultbooleanOptional
external_identity_provider_idstringOptional
idstringOptional
meta_datastringOptional
namestringOptional
Responses
put
/api/v1/users/group

Delete user group

delete
Authorizations
Query parameters
group_idstringRequired

Group ID required to delete the group

Responses
delete
/api/v1/users/group

List all user groups

get
Authorizations
Responses
get
/api/v1/users/groups

Verify user invite

get
Query parameters
emailstringRequired

Invitee email

invite_codestringRequired

Invite code

Responses
get
/api/v1/users/invite

Invite users

post
Authorizations
Body
platform_role_idstringOptional
user_emailsstring[]Optional
Responses
post
/api/v1/users/invite

Delete a pending user invite

delete
Authorizations
Query parameters
invitee_emailstringRequired

Invitee email to delete

Responses
delete
/api/v1/users/invite

User signup via invite

post
Query parameters
emailstringRequired

Invitee email

invite_codestringRequired

Invite code

Body
account_disabledbooleanOptional
auth_typestringOptional
display_namestringOptional
external_identity_provider_idstringOptional
is_mfa_enabledbooleanOptional
isadminbooleanOptional

deprecated

issuperadminbooleanOptional

deprecated

last_login_timestringOptional
passwordstring · min: 5Required
platform_role_idstring · enumOptionalPossible values:
totp_secretstringOptional
usernamestring · min: 3Optional
Responses
post
/api/v1/users/invite-signup

List all pending user invites

get
Authorizations
Responses
get
/api/v1/users/invites

Delete all pending user invites

delete
Authorizations
Responses
delete
/api/v1/users/invites

Log out a user

post
Authorizations
Query parameters
usernamestringRequired

Username

Responses
post
/api/v1/users/logout

List users network IP mappings

get
Authorizations
Responses
get
/api/v1/users/network_ip

Remove user from network

put
Authorizations
Query parameters
usernamestringRequired

Username

network_idstringRequired

Network ID

Responses
put
/api/v1/users/remove_network_user

Get user role permission template

get
Authorizations
Query parameters
role_idstringRequired

Role ID required to get the role details

Responses
get
/api/v1/users/role

Create user role permission template

post
Authorizations
Body
defaultbooleanOptional
deny_dashboard_accessbooleanOptional
full_accessbooleanOptional
idstring · enumOptionalPossible values:
meta_datastringOptional
namestringOptional
network_idstring · enumOptionalPossible values:
Responses
post
/api/v1/users/role

Update user role permission template

put
Authorizations
Body
defaultbooleanOptional
deny_dashboard_accessbooleanOptional
full_accessbooleanOptional
idstring · enumOptionalPossible values:
meta_datastringOptional
namestringOptional
network_idstring · enumOptionalPossible values:
Responses
put
/api/v1/users/role

Delete user role permission template

delete
Authorizations
Query parameters
role_idstringRequired

Role ID required to delete the role

Responses
delete
/api/v1/users/role

List all user roles

get
Authorizations
Query parameters
platformstringOptional

If true, lists platform roles. Otherwise, lists network roles.

Responses
get
/api/v1/users/roles

List unassigned network users

get
Authorizations
Query parameters
network_idstringRequired

Network ID

Responses
get
/api/v1/users/unassigned_network_users

Last updated

Was this helpful?