GET/groups/{groupId}/members
Gets a list of group members. This API operation cannot get external group members.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
directory
directory.read
group
group.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | Group ID or external key. required |
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID example : 10000001 format : int32 |
| count | integer | Number of items to get default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | Cursor example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
OK
| Property | Type | Description |
|---|---|---|
| members | array (GroupMember) | List of group members |
| responseMetaData | object (responseMetaData) | Response metadata |
| Property | Type | Description |
|---|---|---|
| externalKey | string | Member external key readOnly : true |
| id | string | Member, team, or group ID. required |
| type | string | required Allowed values : USER, ORGUNIT, GROUP |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination |
example
1{2 "members": [3 {4 "externalKey": "USER_EXT_01",5 "id": "userf7da-f82c-4284-13e7-030f3b4c756x",6 "type": "USER"7 },8 {9 "externalKey": "ORGUNIT_EXT_01",10 "id": "orgunitf-f27f-4af8-27e1-03817a911417",11 "type": "ORGUNIT"12 },13 {14 "externalKey": "GROUP_EXT_01",15 "id": "group769-e656-477d-69c7-04e2f73a4a77",16 "type": "GROUP"17 }18 ],19 "responseMetaData": {20 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="21 }22}Bad Request
Forbidden
Not Found