NSX-T Data Center REST API
Associated URIs:
| API Description | API Path | 
|---|---|
| Get all L2VPN servicesGet paginated list of all L2VPN services | GET /api/v1/vpn/l2vpn/services
                           (Deprecated) | 
| Create L2VPN serviceCreate L2VPN service for a given logical router | POST /api/v1/vpn/l2vpn/services
                           (Deprecated) | 
| Delete a L2VPN serviceDelete a specific L2VPN service. If there are any L2VpnSessions on this L2VpnService, those needs to be deleted first. | DELETE /api/v1/vpn/l2vpn/services/<l2vpn-service-id>
                           (Deprecated) | 
| Get L2VPN serviceGet a specific L2VPN service | GET /api/v1/vpn/l2vpn/services/<l2vpn-service-id>
                           (Deprecated) | 
| Edit a L2VPN serviceEdit a specific L2VPN service | PUT /api/v1/vpn/l2vpn/services/<l2vpn-service-id>
                           (Deprecated) | 
| Get all L2VPN sessionsGet paginated list of all L2VPN sessions | GET /api/v1/vpn/l2vpn/sessions
                           (Deprecated) | 
| Create L2VPN sessionCreate L2VPN session and bind to a L2VPNService | POST /api/v1/vpn/l2vpn/sessions
                           (Deprecated) | 
| Delete a L2VPN sessionDelete a specific L2VPN session. If there are any logical switch ports attached to it, those needs to be deleted first. | DELETE /api/v1/vpn/l2vpn/sessions/<l2vpn-session-id>
                           (Deprecated) | 
| Get a L2VPN sessionGet a specific L2VPN session | GET /api/v1/vpn/l2vpn/sessions/<l2vpn-session-id>
                           (Deprecated) | 
| Edit a L2VPN sessionEdit a specific L2VPN session | PUT /api/v1/vpn/l2vpn/sessions/<l2vpn-session-id>
                           (Deprecated) | 
| Get peer codes for the L2VpnSessionGet peer codes for the L2VPN session to program the remote side of the tunnel. | GET /api/v1/vpn/l2vpn/sessions/<l2vpn-session-id>/peer-codes
                           (Deprecated) | 
