I have many network under one organization .
Under each network i need to address it by hes location, and that's a lot of devices..
can i do it by some API?
i already downloaded "meraki-api-toolbox" but it isn't working that good..
Sure you can.
First get all networks in your organisation:
GET List the networks in an organization
Loop over them and get the devices in each network:
GET List the devices in a network
Then loop over the devices and set their locations:
Parameters for that update call:
Put pauzes in your script so you don't go over the rate limit for the calls:
Note: Call volume is limited to 5 calls per second (per organization)
I have one minor alternative to @BrechtSchamp 's method. For my Orgs it simply takes too long to iterate through every Org, and then every network to get the device list. I use this call to return all the devices in an Org in a single call:
And then do what I need to do on each device. It's much quicker than getting every network in an Org first (if you have lots and lots of networks in an Org, like we do).
View all community news »