Skip to main content

List the names and IDs of all roles

GET 

/api/v1/RolesRole/NameAndIds

Returns the name and ID of every role, sorted by name, including the built-in Auditors role. Use it to fill a role picker or to look up a role ID. Deleted roles are not included, and the Administrator and Reviewer roles are not listed.

Permission required: Administrator role.

Request​

Responses​

Returns an array of objects with an id and a name.