Update Common DHCP Settings Of M Gs
PUT {{baseUrl}}/networks/:networkId/cellularGateway/dhcp
Update common DHCP settings of MGs #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: dhcpLeaseTime| string| DHCP Lease time for all MG of the network. It can be '30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week'. dnsNameservers| string| DNS name servers mode for all MG of the network. It can take 4 different values: 'upstreamdns', 'googledns', 'opendns', 'custom'. dnsCustomNameservers| array| list of fixed IP representing the the DNS Name servers when the mode is 'custom'
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/cellularGateway/dhcp | update |
Request Body
{"dhcpLeaseTime"=>"<string>", "dnsNameservers"=>"<string>", "dnsCustomNameservers"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"dhcpLeaseTime":"1 hour","dnsNameservers":"custom","dnsCustomNameservers":["172.16.2.111","172.16.2.30"]}