NSX-T Data Center REST API
Delete a Logical Router (Deprecated)
Deletes the specified logical router. You must delete associated logicalrouter ports before you can delete a logical router. Otherwise use force
delete which will delete all related ports and other entities associated
with that LR. To force delete logical router pass force=true in query param.
Deprecated:
Please use below policy apis instead of this API.
DELETE /infra/tier-0s/<id>
DELETE /infra/tier-1s/<id>
Request:
Method:
              DELETE
            URI Path(s):
              
                /api/v1/logical-routers/{logical-router-id}
                
              
            Request Headers:
                n/a
            Query Parameters:
    LogicalRouterDeleteRequestParameters+
  Request Body:
    n/a
  Example Request:
DELETE https://<nsx-mgr>/api/v1/logical-routers/f962173f-ac03-4d08-8366-56a41779f61d DELETE https://<nsx-mgr>/api/v1/logical-routers/f962173f-ac03-4d08-8366-56a41779f61d?force=trueSuccessful Response:
Response Code:
                200 OK
              Response Headers:
                  n/a
                Response Body:
    n/a