NSX-T Data Center REST API
Delete a Logical Port (Deprecated)
Deletes the specified logical switch port. By default, if logical port hasattachments, or it is added to any NSGroup, the deletion will be failed.
Option detach could be used for deleting logical port forcibly. 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
  Example Request:
DELETE https://<nsx-mgr>/api/v1/logical-ports/95a93e66-4fb1-4f7d-9484-1c8fd521e741Successful Response:
Response Code:
                200 OK
              Response Headers:
                  n/a
                Response Body:
    n/a
  