Management Plane API > Networking > Logical Routing And Services > Logical Routers

Read Logical Router

Returns information about the specified logical router.

Request:

Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/logical-routers/f962173f-ac03-4d08-8366-56a41779f61d

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalRouter+

Example Response:

{ "_revision": 0, "id": "f962173f-ac03-4d08-8366-56a41779f61d", "resource_type": "LogicalRouter", "config": { "internal_transit_network": "169.0.0.0/28", "external_transit_networks": [ "100.64.1.0/24" ] }, "router_type": "TIER0", "_last_modified_user": "admin", "_last_modified_time": 1414620218840, "_create_time": 1414620218840, "_create_user": "admin" }

Required Permissions:

read

Feature:

routing_routers

Additional Errors: