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
- 200
- 400
- 403
Returns an array of objects with an id and a name.
The roles could not be retrieved.
The signed-in user does not have the required role.