Hi KiranPurini, I hope your day is going well. 1. Retrieving Firewall Rules: Use the getOrganizationNetworks API call to retrieve all network IDs within an organization - https://developer.cisco.com/meraki/api-v1/get-organization-networks/ Use the getNetworkApplianceFirewallL3FirewallRules API call to retrieve the Layer 3 firewall rules for a specific network - https://developer.cisco.com/meraki/api-v1/get-network-appliance-firewall-l-3-firewall-rules/ You can also use the API to retrieve Layer 7 firewall rules. 2. Adding or Modifying Firewall Rules: Layer 3: Use the updateNetworkApplianceFirewallL3FirewallRules API call to update the entire list of Layer 3 firewall rules for a network - https://developer.cisco.com/meraki/api-v1/update-network-appliance-firewall-l-3-firewall-rules/ Note that this method overwrites the existing rules, so you need to include all rules in your request OR Write a script to if want to add the rules on top of what you already have - https://developer.cisco.com/meraki/build/mx-firewall-control-python-script/ Additional info - https://community.meraki.com/t5/Developers-APIs/Put-API-L3-firewall-rules/m-p/85541 If you have any questions, please don't hesitate to contact us.
... View more