Get SM Network IDs

Solved
bunge
Conversationalist

Get SM Network IDs

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!

1 Accepted Solution

Is the read only admin an org admin or just specific networks?

Ryan / Meraki Solutions Engineer

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.

View solution in original post

4 Replies 4
Ryan_Miles
Meraki Employee
Meraki Employee

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

Ryan / Meraki Solutions Engineer

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
bunge
Conversationalist

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'])

 

Is the read only admin an org admin or just specific networks?

Ryan / Meraki Solutions Engineer

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
bunge
Conversationalist

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!

Get notified when there are additional replies to this discussion.