Management Plane API > Networking > VPN > L2VPN > Services

Delete a L2VPN service

Delete a specific L2VPN service. If there are any L2VpnSessions on this L2VpnService, those needs to be deleted first.

Request:

Method:
DELETE
URI Path(s):
/api/v1/vpn/l2vpn/services/<l2vpn-service-id>
Request Headers:
n/a
Query Parameters:
DeleteRequestParameters+
Request Body:
n/a

Example Request:

DELETE https://<nsx-mgr>/api/v1/vpn/l2vpn/services/f962173f-ac03-4d08-8366-56a41779f61d

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

vpn

Additional Errors: