Policy > Networking > Network Services > VPN > IPSEC > Services

Create or patch IPSec VPN service (Deprecated)

Create or patch IPSec VPN service for a given locale
service under Tier-1.
This API is deprecated. Please use PATCH /infra/tier-1s/<tier-1-id>/ipsec-vpn-services/<service-id> instead.
Note:
Please note that request is validated and any error messages returned from validation may include the new VPN path
instead of the deprecated path. Both new path and old path refer to same resource.
Also VPN path returned in the Alarm, GPRR payload may include the new VPN path.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/ipsec-vpn-services/<service-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVpnService+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-1s/int_net/locale-services/default/ipsec-vpn-services/default { "resource_type": "IPSecVpnService", "enabled": true }

Successful Response:

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

Required Permissions:

crud

Feature:

policy_vpn

Additional Errors: