Management Plane API > Networking > VPN > IPSEC > Peer Endpoints

Edit custom IPSec local endpoint

Edit custom IPSec local endpoint.

Request:

Method:
PUT
URI Path(s):
/api/v1/vpn/ipsec/local-endpoints/<ipsec-vpn-local-endpoint-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVPNLocalEndpoint+

Example Request:

PUT https://<nsx-mgr>/api/v1/vpn/ipsec/local-endpoints/f962173f-ac03-4d08-8366-56a41779f61d { "resource_type" : "IPSecVPNLocalEndpoint", "description" : "Local endpoint plr1", "id" : "c99d8ed0-195b-46b0-8474-664b55cfb176", "display_name" : "Local endpoint plr1", "local_id" : "40.40.40.1", "ipsec_vpn_service_id" : { "target_display_name" : "IPSec VPN serviceplr1", "is_valid" : true, "target_type" : "IPSecVPNService", "target_id" : "f770a847-a6c9-4bc0-94cb-1dd1d5ae622a" }, "local_address" : "40.40.40.1", "trust_ca_ids" : [ ], "trust_crl_ids" : [ ], "_create_time" : 1517293221251, "_last_modified_user" : "admin", "_last_modified_time" : 1517293221251, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Successful Response:

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

Example Response:

{ "resource_type" : "IPSecVPNLocalEndpoint", "description" : "Local endpoint plr1", "id" : "c99d8ed0-195b-46b0-8474-664b55cfb176", "display_name" : "Local endpoint plr1", "local_id" : "40.40.40.1", "ipsec_vpn_service_id" : { "target_display_name" : "IPSec VPN serviceplr1", "is_valid" : true, "target_type" : "IPSecVPNService", "target_id" : "f770a847-a6c9-4bc0-94cb-1dd1d5ae622a" }, "local_address" : "40.40.40.1", "trust_ca_ids" : [], "trust_crl_ids" : [], "_create_time" : 1517293221251, "_last_modified_user" : "admin", "_last_modified_time" : 1667293221251, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

crud

Feature:

vpn

Additional Errors: