cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
532
Views
0
Helpful
3
Replies

List Admin Organizations

ablomfield
Level 4
Level 4

Is there an API call that I can run to list all organizations that the token has access to as an external admin? Many of the individual APIs run against an accounts home organization unless a specific organization ID is specified in the request,  but I have not worked out how to get a list of org IDs that an access token has permissions to.

3 Replies 3

ablomfield
Level 4
Level 4

Unfortunately not. If I run that as a user that is an external administrator on other organizations it only returns their own org.

Hi @ablomfield,
Thanks for your patience so far!
The above API endpoint provided by @dstaudt is actually correct, but I believe when you're trying to list out the organizations with the API where you're already "External Admin", exactly that time you're not logged into that Org account in Control Hub.

Please note, this "External Admin" role is not permanent one to a User for an Org, once you login to the Control Hub of that Org - you get the role assigned as "External Admin", but that's only for a temporary basis and the external administrators are nothing but the Read-only administrator of your Org.
Once your login session destroys for that Control Hub Org account, your "External Admin" role to that Org is also gone.

You can find the same has been documented here as well - https://help.webex.com/en-us/article/fs78p5/Assign-organization-account-roles-in-Control-Hub#id_87926
I've highlighted the specific areas in the attached screen shot too which should help here.
So, you can login to those Orgs for the temporary basis and this /list-organizations API as well as /get-organization-details API would help you find the details of those Orgs.

Let us know for any further assistance on this.

Regards!
SandipScreenshot 2023-07-21 at 11.25.11 AM.png

Please Note: If you think the solution provided above was helpful and satisfactory, please accept it as a Solution! However if you want to discuss it further and get yourself unblocked, please don't hesitate to reply back on this thread and we'll try to answer those queries by the soonest. In that case, once all of your queries are cleared - finally you can mark it as "Accepted as Solution"

dstaudt
Cisco Employee
Cisco Employee