Management Plane API > Networking > VPN > L2VPN > Sessions

Create L2VPN session

Create L2VPN session and bind to a L2VPNService

Request:

Method:
POST
URI Path(s):
/api/v1/vpn/l2vpn/sessions
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
L2VpnSession+

Example Request:

POST https://<nsx-mgr>/api/v1/vpn/l2vpn/sessions TBD

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
L2VpnSession+

Example Response:

TBD

Required Permissions:

crud

Feature:

vpn

Additional Errors: