cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3016
Views
1
Helpful
4
Replies

Get SM Network IDs

bunge
Community Member

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

Accepted Solutions

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

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

View solution in original post

4 Replies 4

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

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

bunge
Community Member

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

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

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

bunge
Community Member

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!