Get a list of users mapped to groups in LearnCenter
get
/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId}/users
Request
Path Parameters
-
groupId: number
Unique identifier of a Group.
-
learnCenterId: number
Unique identifier of LearnCenter.
Query Parameters
-
limit(optional): integer
Specifies how many items should be returned in a payload. Must be lower than server default limit size.
-
offset(optional): integer
Specify the starting point of the response.Default Value:
0 -
totalResults(optional): boolean
If set to true, the payload includes the total number of rows that satisfies the request. The use of this parameter determines if the 'last' link is displayed for a pageable collection.
Response
Supported Media Types
- application/json
200 Response
Group users collection fetched.
Root Schema : GroupUsersResponse
Type:
Show Source
object-
count(optional):
number
Example:
1 -
hasMore(optional):
boolean
Example:
false -
items(optional):
object GroupUserResponse
-
limit(optional):
number
Example:
100 -
links(optional):
array links
Nested Schema : GroupUserResponse
Type:
Show Source
object-
excludeFlag(optional):
boolean
Example:
false -
group(optional):
object group
-
groupId(optional):
number
Example:
1234 -
links(optional):
array links
-
statusFlag(optional):
boolean
Example:
true -
user(optional):
object user
-
userId(optional):
number
Example:
112112
Nested Schema : links
Type:
Show Source
arrayExample:
[
{
"rel":"canonical",
"href":"https://<Rest API host>/learn.rest/v1/learnCenters/178942/groups/1232/users"
}
]Nested Schema : GroupLink
Type:
Show Source
object-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId} -
rel(optional):
string
Example:
canonical
Example:
{
"rel":"canonical",
"href":"{url}/learn.rest/v1/learnCenters/178409/groups/456"
}Nested Schema : GroupUserLink
Type:
Show Source
object-
href(optional):
string
Example:
{url}/learn.rest/v1/learnCenter/{learnCenterId}/groups/{groupId}/users/{userId} -
rel(optional):
string
Example:
canonical
Nested Schema : UserLink
Type:
Show Source
object-
href(optional):
string
Example:
{url}/learn.rest/v1/users/456 -
rel(optional):
string
Example:
canonical
401 Response
500 Response
Internal server error.