GET/bots/{botId}/domains/{domainId}/members
Bot の利用権限を持つユーザー ID リストを取得する。
すべてのユーザーに利用権限がある場合、"All users" と応答する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
bot
bot.read
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| domainId | integer | ドメイン ID required example : 10000001 format : int64 |
| Parameter | Type | Description |
|---|---|---|
| cursor | string | リストのカーソル値 (URL エンコードする) example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| count | integer | 取得数 required default : 50 minimum : 1 maximum : 100 example : 60 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| members | array (string) | Bot 利用ユーザーリスト |
| responseMetaData | object (responseMetaData) | レスポンスのメタデータ |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリストが存在する場合のカーソル値 required |
example
1{2 "members": [3 "userf7da-f82c-4284-13e7-030f3b4c756x"4 ],5 "responseMetaData": {6 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="7 }8}