メインコンテンツまでスキップ

GetRoleUsers

ロールを持つするユーザーを取得する

Description

指定したロールを所有するユーザーを取得します。

Method

GET

Request URL Format

/api/v0/applications/:app-id/roleusers/:role-id

URL Params

app-id      : アプリケーションID(Hexabase画面から入力したIDを指定)
role-id : ロールID(Hexabase画面から入力したIDを指定)

Query Params

なし

Request URL Sample

GET https://api.xxx.com/api/v0/applications/APP_NAME/roleusers/MANAGERS

Response Sample

{
"role_users": [
{
"email": "[email protected]",
"u_id": "5c5fa7aa84f4be4250aaee25",
"username": "xxxx"
},
{
"email": "[email protected]",
"u_id": "5c99a80684f4be750c2df35b",
"username": "yyyy"
},
{
"email": "[email protected]",
"u_id": "5c9a505e84f4be750c2df3ac",
"username": "zzzz"
}
]
}