How to clear L3 firewall rules

themru
Conversationalist

How to clear L3 firewall rules

hello,

 

just migrated some meraki's on our new organisation, upon doing this some policy objects were not imported.

 

we will need to clear the L3 firewall rules by using api as with gui access it give errors when deleting.

 

Anyone can send me the command for this.

 

I see GET  & PUT but nothing else on delete.

 

3 REPLIES 3
ww
Kind of a big deal
Kind of a big deal

Try a put with just allow  any any or a empty one

Edgar-VO
Building a reputation

Good Morning,

 

Routine which i use :

 

--------------------------------------------------

empty_rules = []
param = {}
param['rules'] = empty_rules

response = dashboard.appliance.updateNetworkApplianceFirewallL3FirewallRules(network_id,**param)
 
This will clear all the L3 rules
 
Hope this helps
 
themru
Conversationalist

Hi,

 

I've use postman and am able to connect to the dashboard.  How do I put the commands on postman

 

Do I go on the body side and just enter those items.  Could you guide me please.

Get notified when there are additional replies to this discussion.