NSX Autonomous Edge REST API
Update an L2VPN session with a new peer code
Updating an L2VPN Session can be performed only through this APIby specifying new peer codes. Use of specific APIs to update the
L2VPN Session and the system-owned resources associated with it
is not allowed.
API supported only when L2VPN Service is in Client Mode.
Request:
Method:
PUT
URI Path(s):
/vpn/l2vpn/sessions/{l2vpn-session-id}?action=update_with_peer_code
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
L2VPNSession+
Example Request:
PUT https://<ip>/api/v1/vpn/l2vpn/sessions/Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
L2VPNSession+