List the members of a role
GET/api/v1/RolesRole/:roleId/SearchAccounts
Returns the users, groups, applications and collections that hold a role, as a page of results that you can filter and sort. Use it to show who has the role.
Permission required: Administrator role.
Values for entityType: 0 = ManagedAccount, 1 = ManagedAccountGroup, 2 = Application, 3 = Collection, 4 = Local.
Request
Responses
- 200
- 400
- 403
- 404
Returns a page of results in data, with the total number of matching rows in recordsTotal.
The members could not be retrieved.
The signed-in user does not have the required role.
The role does not exist.