GET/orgunits/{orgUnitId}/members
組織のメンバーリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
directory.read
orgunit
orgunit.read
| Parameter | Type | Description |
|---|---|---|
| orgUnitId | string | 組織を特定する ID (URL エンコードする)
required example : orgunitf-f27f-4af8-27e1-03817a911417 |
| 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 (OrgUnitMember) | 組織メンバーリスト |
| responseMetaData | object (responseMetaData) | レスポンスのメタデータ |
| Property | Type | Description |
|---|---|---|
| userId | string | ユーザーID (userId) readOnly : true |
| userExternalKey | string | ユーザーの ExternalKey maxLength : 100 readOnly : true nullable : true |
| isManager | boolean | 組織長フラグ readOnly : true |
| visible | boolean | ユーザー公開フラグ readOnly : true |
| useTeamFeature | boolean | 組織のトークルーム機能の利用フラグ 組織に所属しているがトークルームでのメッセージ受信やファイル共有、組織メール受信などの、組織のトークルーム機能を制限したい場合にこのパラメータを利用する。
readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリスト取得時に使用するカーソル値 |
example
1{2 "members": [3 {4 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x",5 "userExternalKey": "USER_EXT_01",6 "isManager": true,7 "visible": true,8 "useTeamFeature": true9 }10 ],11 "responseMetaData": {12 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="13 }14}Bad Request
Forbidden
Not Found