Management Plane API > Networking > VPN > IPSEC > Tunnel Profiles

Edit custom IPSecTunnelProfile

Edit custom IPSec Tunnel Profile. System owned profiles are non editable.

Request:

Method:
PUT
URI Path(s):
/api/v1/vpn/ipsec/tunnel-profiles/<ipsec-vpn-tunnel-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVPNTunnelProfile+

Example Request:

PUT https://<nsx-mgr>/api/v1/vpn/ipsec/tunnel-profiles/12a3a34c-c37b-11e7-abc4-cec278b6b50a { "resource_type" : "IPSecVPNTunnelProfile", "id" : "12a3a34c-c37b-11e7-abc4-cec278b6b50a", "display_name" : "nsx-default-tunnel-profile", "enable_perfect_forward_secrecy" : true, "encryption_algorithms" : [ "AES_128" ], "digest_algorithms" : [ "SHA2_256" ], "sa_life_time" : 3600, "dh_groups" : [ "GROUP14" ], "encapsulation_mode" : "TUNNEL_MODE", "transform_protocol" : "ESP", "df_policy" : "COPY", "_create_time" : 1517289492671, "_last_modified_user" : "system", "_last_modified_time" : 1517289492671, "_system_owned" : true, "_create_user" : "system", "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Successful Response:

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

Example Response:

{ "resource_type" : "IPSecVPNTunnelProfile", "id" : "12a3a34c-c37b-11e7-abc4-cec278b6b50a", "display_name" : "nsx-default-tunnel-profile", "enable_perfect_forward_secrecy" : true, "encryption_algorithms" : [ "AES_128" ], "digest_algorithms" : [ "SHA2_256" ], "sa_life_time" : 3600, "dh_groups" : [ "GROUP14" ], "encapsulation_mode" : "TUNNEL_MODE", "transform_protocol" : "ESP", "df_policy" : "COPY", "_create_time" : 1517289492671, "_last_modified_user" : "system", "_last_modified_time" : 1517289492671, "_system_owned" : true, "_create_user" : "system", "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

crud

Feature:

vpn

Additional Errors: