You'll probably want to beautify it by using more variables, but I just want to demonstrate the correct usage and particularly the variable types you need for it to be successful: update_vpnsettings = meraki.updatevpnsettings(API_KEY, "N_987654321987654", mode='spoke', subnets=["10.255.255.0/24","10.10.0.0/24","10.15.0.0/24","10.25.0.0/16","10.5.0.0/24","10.28.0.0/16"] , usevpn=[True, True, False, True, True, True], hubnetworks=["N_123456789123456"], defaultroute=[False]) Note that it uses the actual bool variable type of Python so no quotes. Also for the hub(s) and whether to use them as default route two lists are expected.
... View more