Hello,
I am unable to list down all users available in the organization. I am getting 403 Forbidden always.
I am trying to use the management API given on this documentation page - https://apidocs.apigee.com/management/apis/get/users
Please note that I have Org Admin rights and using on-prem installation only.
I know that users can be listed per role with other management APIs, but I am here specifically looking to get the list of distinct users irrespective of their roles.
Is anyone getting the same 403 response? or is this management API deprecated ?
Thanks.
I think you may need to be sysadmin, not orgadmin.
If the resource is /v1/o/ORGNAME/resource , then ... you need orgadmin rights in the org ORGNAME.
If the resource is /v1/users then there is no single org that owns the resource, therefore orgadmin rights in any particular org are not sufficient. You need sysadmin credentials.
Can you try that?
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |