Reading Time: < 1 minute
https://kb.vmware.com/s/article/2079620

Get config
curl -u admin:default -H “Accept: application/octet-stream” -X GET -k https://NSX_Manager_IP/api/4.0/firewall/globalroot-0/config

Delete
curl -u admin:default -H “Accept: application/octet-stream” -X DELETE -k https://NSX_Manager_IP/api/4.0/firewall/globalroot-0/config

Another possibility (not tested do) is to unload the NSX VIBs.

In my case I would need to do : esxcli software vib remove –vibname=esx-nsxv

0