NSX-T Data Center REST API
Update a Logical Router (Deprecated)
Modifies the specified logical router. Modifiable attributes include theinternal_transit_network, external_transit_networks, and edge_cluster_id
(for TIER0 routers).
Deprecated:
Please use below policy apis instead of this API.
PUT /infra/tier-0s/<id>
PUT /infra/tier-0s/<id>/locale-services/<id>
PUT /infra/tier-1s/<id>
PUT /infra/tier-1s/<id>/locale-services/<id>
Request:
Method:
PUT
URI Path(s):
/api/v1/logical-routers/{logical-router-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LogicalRouter+
Example Request:
{ "resource_type": "LogicalRouter", "description": "Router NortWest", "id": "88a3c980-c433-43f7-80b8-987c8f80d9e1", "display_name": "tier-0", "edge_cluster_id": "a9dc562c-effd-4225-883d-3f7d2c887c6b", "router_type": "TIER0", "high_availability_mode": "ACTIVE_ACTIVE", "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LogicalRouter+