Policy >
Networking
>
Network Services
>
VPN
>
L2VPN
>
Sessions
Delete L2VPN session under Tier-1
Delete L2VPN session under Tier-1. When L2VPN Service is in CLIENT Mode, the L2VPN Session is deleted along with its transpot tunnels and related resources.
This API is only available when using VMware NSX-T.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/l2vpn-services/<service-id>/sessions/<session-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/locale-services/default/l2vpn-services/default/sessions/stretched-pa-site
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
policy_vpn
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable