i want to restart the SM Devices (iPads) using Tags. i got the Meraki API working with Serial numbers but i want to restart using Tags. below is the code from postman. import requests import json url = "https://api.meraki.com/api/v1/networks/N_XXXXXXXXXXXXXXXXXX/sm/devices/reboot" payload = json.dumps({ "serials": [ "963klu74lk" ], "notifyUser": "false", "rebuildKernelCache": "false", "requestRequiresNetworkTether": "true" }) headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': '••••••' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text) --------------------------------------- now i want to remove the serial # and add below code "scope": [ "withAny", "Test-Tag" ], i don't know how to write the script and add the scope with tag to reboot ipads.
... View more