Policy > Networking > Network Services > VPN > L2VPN > Services

Create or patch L2VPN service under Tier-1

Create or patch L2VPN service for given Tier-1.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/l2vpn-services/{service-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
L2VPNService+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-1s/cgw/l2vpn-services/default { "enable_hub": true, }

Successful Response:

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

Required Permissions:

crud

Feature:

policy_vpn

Additional Errors: