05-30-2024 09:49 AM
Hello! I'm having trouble running Get Organization Networks to return SM Network IDs. I can call Get Organization Networks just fine, but all SM networks are omitted.
Is there a different API endpoint I should be using that will return SM network IDs?
Thanks!
Solved! Go to Solution.
05-30-2024 01:24 PM
Is the read only admin an org admin or just specific networks?
05-30-2024 11:52 AM
I just created a new SM test network and the Get Org Networks endpoint returns the network ID for me.
https://api.meraki.com/api/v1/organizations/<my ORG ID>/networks
05-30-2024 01:23 PM
I wonder if this could potentially be related to API key permissions?
I am a SAML org admin, but the key I am using is that of an org read user.
Also if it helps I am using the Python SDK, calling:
mdm_network = dashboard.organizations.getOrganizationNetworks(meraki_org['id'])
05-30-2024 01:24 PM
Is the read only admin an org admin or just specific networks?
05-30-2024 02:02 PM
That was the ticket!
The read only admin was not an admin on the SM networks, only on the SD-WAN networks. After adding the appropriate network tags to the admin user, the API call now returns SM networks.
Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide