Policy > Networking > Network Services > VPN > IPSEC > Local Endpoints

Create or fully replace IPSec VPN local endpoint (Deprecated)

Create or fully replace IPSec VPN local endpoint
for a given locale service under Tier-1.
Revision is optional for creation and required for update.
This API is deprecated. Please use PUT /infra/tier-1s/<tier-1-id>/ipsec-vpn-services/<service-id>/
local-endpoints/<local-endpoint-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:
PUT
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/ipsec-vpn-services/<service-id>/local-endpoints/<local-endpoint-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVpnLocalEndpoint+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/tier-1s/int_net/locale-services/default/ipsec-vpn-services/default/local-endpoints/default-le { "resource_type": "IPSecVpnLocalEndpoint", "description" : "Local endpoint 1", "display_name" : "Local endpoint 1", "local_id" : "40.40.40.1", "local_address" : "40.40.40.1", "_revision": 2 }

Successful Response:

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

Example Response:

{ "resource_type" : "IPSecVpnLocalEndpoint", "path" : "/infra/tier-1s/int_net/locale-services/default/ipsec-vpn-services/default/local-endpoints/default-le", "description" : "Local endpoint 1", "display_name" : "Local endpoint 1", "local_id" : "40.40.40.1", "local_address" : "40.40.40.1", "_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: