NSX-T Data Center REST API
Delete a Logical Switch (Deprecated)
Removes a logical switch from the associated overlay or VLAN transportzone. By default, a logical switch cannot be deleted if there are logical
ports on the switch, or it is added to a NSGroup.
Cascade option can be used to delete all ports and the logical switch.
Detach option can be used to delete the logical switch forcibly.
Deprecated: This api is now deprecated. Please use new api - /infra/segments/<segment-id>
Request:
Method:
DELETE
URI Path(s):
/api/v1/logical-switches/{lswitch-id}
Request Headers:
n/a
Query Parameters:
LogicalSwitchDeleteParameters+
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a