You can uninstall a logical switch by using the vSphere Web Client.
You must have been assigned the Enterprise Administrator or NSX Administrator role.
- In the vSphere Web Client, navigate to Home > Networking & Security > Logical Switches.
- Select a logical switch and remove any attached virtual machines by clicking the Remove Virtual Machine icon.
- With the logical switch selected, click the Delete () icon.