Skip to main content

Listing All Roles in an Organization with the Identity API

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

Use this command 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}"