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

Create or fully replace IPSec VPN service

Create or fully replace IPSec VPN service under given Tier-0.
Revision is optional for creation and required for update.

Request:

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

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-0s/ext_net/ipsec-vpn-services/default { "resource_type" : "IPSecVpnService", "ike_log_level" : "ERROR", "enabled" : true, "_revision" : 2 }

Successful Response:

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

Example Response:

{ "resource_type" : "IPSecVpnService", "path" : "/infra/tier-0s/ext_net/ipsec-vpn-services/default", "ike_log_level" : "ERROR", "enabled" : false, "bypass_rules" : [], "_create_time" : 1517293097281, "_last_modified_user" : "admin", "_last_modified_time" : 1517293097281, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 3 }

Required Permissions:

crud

Feature:

policy_vpn

Additional Errors: