List the roles of a group
GET/api/v1/RolesRole/SearchRolesForManagedAccountGroup/:managedAccountGroupId
Returns the roles that a group holds, as a page of results that you can filter by name or description. The built-in Administrator and Reviewer roles appear when the group has them.
Permission required: Administrator role.
Values for roleTarget: 0 = AccessPolicies, 1 = Credentials, 2 = Auditors.
Request
Responses
- 200
- 400
- 403
- 404
Returns a page of results in data, with the total number of matching rows in recordsTotal.
The roles could not be retrieved.
The signed-in user does not have the required role.
The group does not exist.