NSX-T Data Center REST API

Delete a Logical Router Port (Deprecated)

Deletes the specified logical router port. You must delete logical router
ports before you can delete the associated logical router. To Delete Tier0
router link port you must have to delete attached tier1 router link port,
otherwise pass "force=true" as query param to force delete the Tier0
router link port.
Deprecated:
Please use below Policy APIs.
DELETE /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/interfaces/<interface-id>
DELETE /policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/interfaces/<interface-id>
DELETE /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id> for DOWNLINK
DELETE /policy/api/v1/infra/segments/<segment-id> for DOWNLINK

Request:

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

Successful Response:

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

Example Response:

None

Required Permissions:

crud

Feature:

routing_routers

Additional Errors: