Location
/api/apps/{appID}/groups/{groupID}/members
Collection of members of the current group.
Request Headers (Applies to all methods)
Authorization
header
Required: Yes
GET
/api/apps/{appID}/groups/{groupID}/members
Description
Get the collection of group members.
Security
An anonymous access is not allowed for this method.
Name
Required?
type
Description
Authorization
Yes
string
Authorization header. OAuth2 Bearer token
Responses
200
Content-Type application/vnd.kii.MembersRetrievalResponse+json
Successfully retrieved the collection of members.
Contents
Name | Type | Description |
---|---|---|
members | MemberRetrievalResponse | Collection of group members. |
userID | string | The userID of a group member. |
404
Content-Type application/vnd.kii.GroupNotFoundException+json
The group was not found.
Contents
Name | Type | Description |
---|---|---|
errorCode | string | Error code "GROUP_NOT_FOUND". |
message | string | The error message. |
groupID | string | The groupID of the group. |
appID | string | The ID of the application. |
401
Content-Type application/vnd.kii.UnauthorizedAccessException+json
Not authorized to get the members of the group.
Contents
Name | Type | Description |
---|---|---|
errorCode | string | Error code "UNAUTHORIZED". |
message | string | The error message. |
authenticatedAppID | string | The authenticated appID. |
authenticatedPrincipalID | string | The authenticated principal ID (userID or thingID). |