I'm writing a script to see if DHCP reservations are for devices still on the network. It is simple enough to call
client = meraki.getclient(apikey, networkid, mac, suppressprint=True)
But if the device is on an extended trip and hasn't been back in the office in 30 days, I may still want to keep the reservation. I could create a loop to cycle through all of my networks to see if the device is on any of the networks, but that isn't very efficient. It seems like I should be able to query Systems Manager for the information. I see documentation for the API that suggests that I should be able to find something from meraki.getsmdevices but I'm not sure what the network_id for my Systems Manager network would be. Can anyone point me to where I can find that?