NSX-T Data Center REST API

Get peer codes for the L2VpnSession (Deprecated)

Get peer codes for the L2VPN session to program the remote side of the tunnel. Deprecated:
Please use below Policy APIs.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/l2vpn-services/<service-id>/sessions/<session-id>/peer-config
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/l2vpn-services/<service-id>/sessions/<session-id>/peer-config

Request:

Method:
GET
URI Path(s):
/api/v1/vpn/l2vpn/sessions/{l2vpn-session-id}/peer-codes
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

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

Example Response:

TBD

Required Permissions:

crud

Feature:

vpn

Additional Errors: