Dear Members,
Trying to update an access point device management interface by using the function
import meraki
dashboard = meraki.DashboardAPI(api_key="my_api_key")
payload = {"wan1": {
"usingStaticIp": False,
"vlan": "100"
}
result = dashboard.devices.updateDeviceManagementInterface(serial_key, payload)
print(result)
The result is the following output:
updateDeviceManagementInterface() takes 2 positional arguments but 3 were given Process finished with exit code 0 |
When running the function below
result = dashboard.devices.getDeviceManagementInterface(serial_key)
print("Device Management Interface:")
print(result)
The result is the following output:
Device Management Interface: {'wan1': {'usingStaticIp': False, 'vlan': None}} |
It looks like I am using the correct structure but it doesn't work.
This are the arguments that the function expects:
Can you please help me find and correct it?
Best Regards,