MX Template L3 Firewall API

SOLVED
DCoutinho
Conversationalist

MX Template L3 Firewall API

Hello,

 

Is there a way to update MX template firewall rules via API?

 

I know this is possible if a network is not binded to a template. However,  I do not see a resource in APIv1 that allows the same to be done to a template. 

 

Best Regards,

Diogo

1 ACCEPTED SOLUTION

Accepted Solutions
ww
Kind of a big deal
Kind of a big deal

Re: MX Template L3 Firewall API

the template has a network id.

https://api.meraki.com/api/v1/organizations/:organizationId/configTemplates

 

you can use 

/networks/{networkId}/appliance/firewall/l3FirewallRules

 

View solution in original post

2 REPLIES 2
PhilipDAth
Kind of a big deal

Re: MX Template L3 Firewall API

Yes.  Get the ID of the template, and then just treat that as a network ID, as though you were updating a normal network.

ww
Kind of a big deal
Kind of a big deal

Re: MX Template L3 Firewall API

the template has a network id.

https://api.meraki.com/api/v1/organizations/:organizationId/configTemplates

 

you can use 

/networks/{networkId}/appliance/firewall/l3FirewallRules

 

View solution in original post

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.