NSX-T Data Center REST API

Edit a L2VPN service (Deprecated)

Edit a specific L2VPN service Deprecated:
Please use below Policy APIs.
PUT /policy/api/v1/infra/tier-0s/<tier-0-id>/l2vpn-services/<service-id>
PUT /policy/api/v1/infra/tier-1s/<tier-1-id>/l2vpn-services/<service-id>

Request:

Method:
PUT
URI Path(s):
/api/v1/vpn/l2vpn/services/{l2vpn-service-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
L2VpnService+

Example Request:

{ "id": "f962173f-ac03-4d08-8366-56a41779f61d", "logical_router_id": "88a3c980-c433-43f7-80b8-987c8f80d9e1", "logical_tap_ip_pool" : [ "169.254.64.0/24" ], "mode" : "SERVER", "enable_full_mesh" : true }

Successful Response:

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

Example Response:

{ "id": "f962173f-ac03-4d08-8366-56a41779f61d", "logical_router_id": "88a3c980-c433-43f7-80b8-987c8f80d9e1", "logical_tap_ip_pool" : [ "169.254.64.0/24" ], "mode" : "SERVER", "enable_full_mesh" : true }

Required Permissions:

crud

Feature:

vpn

Additional Errors: