Can the cloud saas version of Edge return a list of all users?,In the SaaS cloud version of apigee edge, how do I get a list of all users?

Not applicable

Referring to this document: https://apidocs.apigee.com/management/apis/get/users

Is it possible to get a list of all global users in the SaaS cloud version of Edge?

Is it available in the free trial?

,

I'm using the free trial for Edge Cloud and I was reading this documentation: https://apidocs.apigee.com/management/apis/get/users

It says on premises only, for Edge Cloud how do you accomplish this? Is it not available in the free trial?

0 1 150
1 REPLY 1

robert
Participant V

Hi @Tom Rhodes,


I can't remember if there's a direct route. Users are global on Edge Cloud so it's likely blocked. I tried adding the org via /o/{orgname} and it didn't work out.

One alternative is to grab all the roles for your org and then loop through each role and grab the users from the role. You can create the entire list of users that way. Just check for duplicates because each user may be in multiple roles.

Here are the API's:

Get the roles for your org:

https://api.enterprise.apigee.com/v1/organizations/{org-name}/userroles

Get the users for each role:

https://api.enterprise.apigee.com/v1/organizations/{org-name}/userroles/{role-name}/users

Hope this helps!