Skip to main content

List the roles of a user

GET 

/api/v1/RolesRole/SearchRolesForManagedAccount/:managedAccountId

Returns the roles that a user holds, as a page of results that you can filter by name or description. The built-in Administrator and Reviewer roles appear when the user has them.

Permission required: Administrator role.

Values for roleTarget: 0 = AccessPolicies, 1 = Credentials, 2 = Auditors.

Request​

Responses​

Returns a page of results in data, with the total number of matching rows in recordsTotal.