Skip to main content
A newer release of this product is available.

List users

Contributors dmp-netapp

You can list the users that are defined for a specific Astra account.

1. List the users

Perform the following REST API call.

HTTP method Path



Additional input parameters

In addition to the parameters common with all REST API calls, the following parameters are also used in the curl examples for this step.

Parameter Type Required Description




Optionally select the values you want returned in the response.

Curl example: Return all data for all users
curl --location -i --request GET '<ACCOUNT_ID>/core/v1/users' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>'
Curl example: Return the first name, last name, and id for all users
curl --location -i --request GET '<ACCOUNT_ID>/core/v1/users?include=firstName,lastName,id' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>'
JSON output example
  "items": [
  "metadata": {}