List the network's roles
Every role the caller may see, as the console's roles pages list them: its id, the static role it is built on (which decides the permissions it can hold at all), the admin console pages it opens, and whether the caller may change it and hand it to an account.
https://YOUR-NETWORK-DOMAIN/rest-api/roles.do Every role the caller may see, as the console's roles pages list them: its id, the static role it is built on (which decides the permissions it can hold at all), the admin console pages it opens, and whether the caller may change it and hand it to an account. A role built on ADMIN is listed only to a caller who may edit admin roles. 'identity' is how this role is addressed in another role's permission matrix, where the rights one role holds over another live. How many accounts hold a role is answered by system-users/search.do with that role. Requires the Admin Roles & Permissions or User Roles & Permissions console permission.
Responses
200
{success, adminRolesVisible, roles:[{id, name, staticRole, identity, adminPages, manageable}], staticRoles:[{id, name}]}
400
Bad request — invalid or missing parameters
401
Authentication error
403
The caller holds neither roles-and-permissions console permission