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
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"rules":[{"comment":"Allow TCP traffic to subnet with HTTP servers.","policy":"allow","protocol":"tcp","destPort":443,"destCidr":"192.168.1.0/24","srcPort":"Any","srcCidr":"Any","syslogEnabled":false}],"syslogDefaultRule":true}