VMware Networking Community
foote
Contributor
Contributor

Unable to disable a firewall rule on an existing ESG via the NSX API v6.3.5

I am attempting to PUT an update to an existing ESG via the API, in an effort to disable a firewall rule. While I get a 200 response in return each time, no actual changes have propagated to the ESG itself. If I log into our VSphere Web Client however, I can disable any firewall rule without issue. Below is the specific request I am making, per the NSX documentation:

     PUT {host_address}/api/4.0/edges/{edge_id}/firewall/config/rules/{rule_id}

0 Kudos
1 Reply
Sreec
VMware Employee
VMware Employee

Are we sure we are using right parameters in the api call ?

Format should be like this  https://NSXIP/FQDN/api/4.0/edges/edge-11111/firewall/config/rules/121212

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos