REST API Reference Version 5.2.1.0Search

Read

GET v1/user_groups

Query parameters

Parameter Type
startRow NsUnsignedLong
endRow NsUnsignedLong
sortBy NsString
iSortBy NsString
pageSize NsUnsignedInt
id NsObjectID
name NsUserGroupName
description NsDescription
role_id NsObjectID
role NsUserRoles
inactivity_timeout NsSeconds
creation_time NsTime
last_modified NsTime
disabled NsBoolean
external_id NsString
domain_id NsObjectID
domain_name NsObjectName

GET v1/user_groups/detail

Query parameters

Parameter Type
startRow NsUnsignedLong
endRow NsUnsignedLong
sortBy NsString
iSortBy NsString
fields NsCommaSeparatedList
pageSize NsUnsignedInt
id NsObjectID
name NsUserGroupName
description NsDescription
role_id NsObjectID
role NsUserRoles
inactivity_timeout NsSeconds
creation_time NsTime
last_modified NsTime
disabled NsBoolean
external_id NsString
domain_id NsObjectID
domain_name NsObjectName

GET v1/user_groups/id

Query parameters

Parameter Type
fields NsCommaSeparatedList

Description

List one or more user groups.

Normal Response Codes

200 206

HTTP Error Codes

400 401 403 404 500 503

Response

Parameter Type JSON Type Description Deprecated
id NsObjectID string Identifier for the user group. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'.  
name NsUserGroupName string Name of the user group. String of up to 64 uppercase or lowercase characters excluding ampersand, less than, greater than and ^/\[]:;|=,+*?;. Example: 'admin-group-24'.  
description NsDescription string Description of the user group. String of up to 255 printable ASCII characters. Example: '99.9999% availability'.  
role_id NsObjectID string Identifier for the user group's role. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'.  
role NsUserRoles string enum Role of the user. Possible values: 'administrator', 'poweruser', 'operator', 'guest'.  
inactivity_timeout NsSeconds number The amount of time that the user session is inactive before timing out. A value of 0 indicates that the timeout is taken from the group setting. Unsigned 64-bit integer. Example: '1234'.  
creation_time NsTime number Time when this user was created. Seconds since last epoch i.e. 00:00 January 1, 1970. Example: '3400'.  
last_modified NsTime number Time when this user was last modified. Seconds since last epoch i.e. 00:00 January 1, 1970. Example: '3400'.  
disabled NsBoolean boolean User is currently disabled. Possible values: 'true', 'false'.  
external_id NsString string External ID of the user group. In Active Directory, it is the group's SID (Security Identifier). Plain string.  
domain_id NsObjectID string Identifier of the domain this user group belongs to. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'.  
domain_name NsObjectName string Role of the user. String of up to 64 alphanumeric characters, - and . and : are allowed after first character. Example: 'myobject-5'.  

JSON Response