NSX-T Data Center REST API
Create L2VPN session (Deprecated)
Create L2VPN session and bind to a L2VPNService Deprecated:Please use below Policy APIs.
PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/l2vpn-services/<service-id>/sessions/<session-id>
PATCH /policy/api/v1/infra/tier-1s/<tier-1-id>/l2vpn-services/<service-id>/sessions/<session-id>
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 TBDSuccessful Response:
Response Code:
                201 Created
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    L2VpnSession+
  