I'm trying to update DHCP settings under security&sdwan->DHCP via API call to the following end point (not totally sure why the example body is empty in the documentation):
https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-single-lan.
![Screen Shot 2021-09-03 at 12.05.55 PM.png Screen Shot 2021-09-03 at 12.05.55 PM.png](https://community.meraki.com/t5/image/serverpage/image-id/19998i3587C16EB60B3548/image-size/medium?v=v2&px=400)
Although the call is returning success code (200), the setting never got really updated.
For example, if the current dhcpLeaseTime is 4 hours and I send the following request:
url = f"https://api.meraki.com/api/v1/networks/{_my_net_id}/appliance/singleLan"
headers = {'Accept': "*/*", 'Content-Type': "application/json", "X-Cisco-Meraki-API-Key": API_KEY}
data = {"subnet":"192.168.128.0/24",
"applianceIp":"192.168.128.1",
"dhcpLeaseTime":"1 day",
}
res = requests.put(url, headers=headers, data=json.dumps(data))
The request will be successful, but the dhcpLeaseTime will never be actually updated. So, the res variable in the last line will still show "4 hours"
what do I miss ?