Contact Us

How to force delete an NSX-T 3 Segment


I experienced some trouble trying to delete a segment with the NSX-T Policy UI. There was an error message complaining about a virtual machine that was still attached to the segment. I verified this message by going into vCenter and checking all the virtual machines and I was sure there were no virtual machines connected to this segment.

I fired up postman and tried to delete the segment through the REST API and again I got the same error message.

I looked-up the API call in the online documentation and discovered that there’s also a force delete option. Force delete bypasses validations during segment deletion. This may result in inconsistent connectivity.


URI Path(s):


Request Headers:

Query Parameters:

Request Body:

The segment was deleted successfully. 

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Consent to display content from Youtube
Consent to display content from Vimeo
Google Maps
Consent to display content from Google
Consent to display content from Spotify
Sound Cloud
Consent to display content from Sound