GET/groups/{groupId}/members
グループのメンバーリストを取得する
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
directory.read
group
group.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | グループを特定する ID (URL エンコードする)
required |
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID (既定値: 認可ドメイン ID) example : 10000001 format : int32 |
| count | integer | 取得数 default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | リストのカーソル値 (URL エンコードする) 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) | グループメンバーリスト |
| responseMetaData | object (responseMetaData) | レスポンスのメタデータ |
| Property | Type | Description |
|---|---|---|
| externalKey | string | グループメンバーのユーザー/組織/グループの ExternalKey readOnly : true |
| id | string | グループメンバーのユーザー/組織/グループの ID (URL エンコードする)
required |
| type | string | グループメンバータイプ
required Allowed values : USER, ORGUNIT, GROUP |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリスト取得時に使用するカーソル値 |
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