NSX-T Data Center REST API

Delete a Logical Port (Deprecated)

Deletes the specified logical switch port. By default, if logical port has
attachments, or it is added to any NSGroup, the deletion will be failed.
Option detach could be used for deleting logical port forcibly.
Deprecated: This api is now deprecated. Please use new api - DELETE /infra/segments/<segment-id>/ports/<port-id>

Request:

Method:
DELETE
URI Path(s):
/api/v1/logical-ports/{lport-id}
Request Headers:
n/a
Query Parameters:
LogicalPortDeleteParameters+
Request Body:
n/a

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

switching_ports

Additional Errors: