GetRoleUsers
Get users with roles
Description
Obtains the users who have the specified role.
Method
GET
Request URL Format
/api/v0/applications/:app-id/roleusers/:role-id
URL Params
app-id : Application ID (specify ID entered from the Hexabase screen)
role-id : Role ID (specify ID entered from the Hexabase screen)
Query Params
None
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"
}
]
}