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
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"rules":[{"lanIp":"192.168.128.1","allowedIps":["any"],"name":"Description of Port Forwarding Rule","protocol":"tcp","publicPort":"8100-8101","localPort":"442-443","uplink":"both"}]}