Hi, Try this (Change your log servers parameters ofcourse) import meraki API_KEY = 'xxxxxxxxxx' dashboard = meraki.DashboardAPI(API_KEY) network_id = ['NID1', 'NID2', ....] def Set_Syslog_Servers(def_network) : my_syslog = eval("[{'host': '10.111.30.4', 'port': '514', 'roles': ['Security events', 'Appliance event log', 'Switch event log', 'Wireless event log']}]") response = dashboard.networks.updateNetworkSyslogServers(def_network,my_syslog) for network in network_id: Set_Syslog_Servers(network) print(response)
... View more