Web Services API | User Web services | List userGroups
Modified on: Thu, 13 Apr 2023 4:30 PMObtains a list of userGroups (always synchronously).
- Url: /integration/ws/management/rest/users/<id_or_externalId_or_commonId_or_username>/groups
- Method: GET
-
Headers:
- Accept: version/format header
- X-Cloud-Auth-Token*: authorization header
-
Parameters:
- startIndex: index of the first user to list
- count: maximum number of users to list (default and limit 500)
-
Responses:
- 200: OK. Content:
[
{
"codGroup"
:
"G1"
,
"commonId"
:
"8e0d68a750f942649e3d8b54eac2af18"
,
"description"
:
"G1"
,
"externalId"
:
null
,
"name"
:
"G1"
,
"parentCommondId"
:
null
,
"roles"
: {
"management"
: [
"user"
]
}
},
{
"codGroup"
:
"G2"
,
"commonId"
:
"bc8badf0a33949b9b08fba6dbcf3fb5a"
,
"description"
:
"G2"
,
"externalId"
:
null
,
"name"
:
"G2"
,
"parentCommondId"
:
null
,
"roles"
: {
"management"
: [
"user"
]
}
}
]