Management Plane API > Networking > VPN > L2VPN > Services

Get all L2VPN services

Get paginated list of all L2VPN services

Request:

Method:
GET
URI Path(s):
/api/v1/vpn/l2vpn/services
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/vpn/l2vpn/services

Successful Response:

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

Example Response:

{ "cursor": "00364c87219e-7361-4fa4-9b4e-c612ed56f1fdtier-0", "result_count": 2, "results": [ { "id": "f962173f-ac03-4d08-8366-56a41779f61d", "logical_router_id": "88a3c980-c433-43f7-80b8-987c8f80d9e1", "logical_tap_ip_pool" : [ "169.254.64.0/24" ], "enable_full_mesh" : true } ] }

Required Permissions:

read

Feature:

vpn

Additional Errors: