Skip to main content

List all roles in an organization with the REST API

This use case scenario provides the Identity REST API requests for listing all the roles in an organization. These requests apply to both user accounts and API service accounts.

Send the following request to list all roles in an organization:

http --auth-type=veracode_hmac GET "https://api.veracode.com/api/authn/v2/roles/search?role_id={role_id}"