NSX-T Data Center REST API
List Logical Routers (Deprecated)
Returns information about all logical routers, including the UUID, internaland external transit network addresses, and the router type (TIER0 or
TIER1). You can get information for only TIER0 routers or only the TIER1
routers by including the router_type query parameter.
Deprecated:
Please use below policy apis instead of this API.
GET /infra/tier-0s/
GET /infra/tier-1s/
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /api/v1/logical-routers
                  
              
            Request Headers:
                n/a
            Query Parameters:
    LogicalRouterListParameters+
  Request Body:
    n/a
  Example Request:
GET https://<nsx-mgr>/api/v1/logical-routers?router_type=TIER0Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    LogicalRouterListResult+
  