Listing Users with the Identity API

Veracode APIs

Veracode APIs
Edition date
Last publication

This use case scenario provides the Identity REST API commands for listing users. These commands apply to both user accounts and API service accounts.

Use this command to list all users:

http --auth-type=veracode_hmac GET ""

By default, the output results show up to 20 users per page. To page through the list, you can re-run the command with ?page=1, ?page=2, and so on, appended to the end.

Use this command to increase the page size from the maximum of 20 and list more users in the output Results:

http --auth-type=veracode_hmac GET "{page number}&size={page size}"

For example, set page=0&size=50 to increase the size of page 0 to 50.

Use this command to list only users whose accounts are enabled:

http --auth-type=veracode_hmac GET ""

You can set enabled=false to list only users whose accounts are disabled.