This is a known issue impacting NSX-T data center.
Workaround:
You can use the following API call:
POST POST /api/v1/firewall/sections/<section-id>?action=update_with_rules
Please note, as these are PUT/POST commands, they will have content, if you are using
curl you can use the
-d option to add the content or point to a file with the content.
For example, here we are pointing to a file called
update-firewall-rule.json which has the updated content:
curl -X POST -H 'Content-Type: application/json' -sN -k -u admin:<password> https://<nsx-t-manager-ip>/api/v1/firewall/sections/<section-id>?action=update_with_rules -d @update-firewall-rule.json
Or
Add the content in the API tool data section you are using.