Update The Port Forwarding Rules For An MX Network

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

Update the port forwarding rules for an MX network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: rules| array| An array of port forwarding params

Request Body

{"rules"=>[{"lanIp"=>"<string>", "publicPort"=>"<string>", "localPort"=>"<string>", "allowedIps"=>["<string>", "<string>"], "protocol"=>"<string>", "name"=>"<string>", "uplink"=>"<string>"}, {"lanIp"=>"<string>", "publicPort"=>"<string>", "localPort"=>"<string>", "allowedIps"=>["<string>", "<string>"], "protocol"=>"<string>", "name"=>"<string>", "uplink"=>"<string>"}]}

HEADERS

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

RESPONSES

status: OK

{&quot;rules&quot;:[{&quot;lanIp&quot;:&quot;192.168.128.1&quot;,&quot;allowedIps&quot;:[&quot;any&quot;],&quot;name&quot;:&quot;Description of Port Forwarding Rule&quot;,&quot;protocol&quot;:&quot;tcp&quot;,&quot;publicPort&quot;:&quot;8100-8101&quot;,&quot;localPort&quot;:&quot;442-443&quot;,&quot;uplink&quot;:&quot;both&quot;}]}