Update The Inbound Firewall Rules Of An MX Network

PUT {{baseUrl}}/networks/:networkId/appliance/firewall/inboundFirewallRules

Update the inbound firewall rules of an MX network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: rules| array| An ordered array of the firewall rules (not including the default rule) syslogDefaultRule| boolean| Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)

Request Body

{"rules"=>[{"policy"=>"<string>", "protocol"=>"<string>", "srcCidr"=>"<string>", "destCidr"=>"<string>", "comment"=>"<string>", "srcPort"=>"<string>", "destPort"=>"<string>", "syslogEnabled"=>"<boolean>"}, {"policy"=>"<string>", "protocol"=>"<string>", "srcCidr"=>"<string>", "destCidr"=>"<string>", "comment"=>"<string>", "srcPort"=>"<string>", "destPort"=>"<string>", "syslogEnabled"=>"<boolean>"}], "syslogDefaultRule"=>"<boolean>"}

HEADERS

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

RESPONSES

status: OK

{&quot;rules&quot;:[{&quot;comment&quot;:&quot;Allow TCP traffic to subnet with HTTP servers.&quot;,&quot;policy&quot;:&quot;allow&quot;,&quot;protocol&quot;:&quot;tcp&quot;,&quot;destPort&quot;:443,&quot;destCidr&quot;:&quot;192.168.1.0/24&quot;,&quot;srcPort&quot;:&quot;Any&quot;,&quot;srcCidr&quot;:&quot;Any&quot;,&quot;syslogEnabled&quot;:false}],&quot;syslogDefaultRule&quot;:true}