I am working with the V1 API function Update Network Appliance Firewall Cellular Firewall Rules.
It seems the source and destination ports do not get updated when calling this method.
This is my message body I am sending to the API method:
{
"rules": [
{
"comment": "This is a test 3",
"policy": "allow",
"protocol": "any",
"srcPort": "8080",
"srcCidr": "192.168.129.0/24",
"destPort": "80",
"destCidr": "192.168.128.0/24",
"syslogEnabled": false
}
]
}
It seems I can update any other property but the srcPort and destPort. I have successfully updated the comment and subnets several times.
Check out my Meraki API PowerShell Module.
Powershell Gallary: https://www.powershellgallery.com/packages?q=Meraki-API-V1
Project Site: https://github.com/Clifra-Jones/Meraki-API-V1