Update The DHCP Server Policy

PUT {{baseUrl}}/networks/:networkId/switch/dhcpServerPolicy

Update the DHCP server policy #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: defaultPolicy| string| 'allow' or 'block' new DHCP servers. Default value is 'allow'. allowedServers| array| List the MAC addresses of DHCP servers to permit on the network. Applicable only if defaultPolicy is set to block. An empty array will clear the entries. blockedServers| array| List the MAC addresses of DHCP servers to block on the network. Applicable only if defaultPolicy is set to allow. An empty array will clear the entries.

Supports Action Batches

ResourceOperation
/networks/{networkId}/switch/dhcpServerPolicyupdate

Request Body

{"defaultPolicy"=>"<string>", "allowedServers"=>["<string>", "<string>"], "blockedServers"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

{&quot;defaultPolicy&quot;:&quot;block&quot;,&quot;allowedServers&quot;:[&quot;00:50:56:00:00:01&quot;,&quot;00:50:56:00:00:02&quot;]}