Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This query should retrieve users of all enterprises in the user's scope if the user is the cloud admin. The privilege required is "Manage users of all enterprises", which is the API role: USERS USERS_MANAGE_OTHER_ENTERPRISES.

Here we have used a limit parameter with a value of 2 because there are 144 users!

cURL:

Code Block
curl -X GET http://example.com/api/admin/enterprises/_/users?limit=2 \ 
	 -H 'Accept:application/vnd.abiquo.users+json; version=4.6' \ 
	 -u user:password --verbose 

...