Management Plane API > Networking > VPN > IPSEC > Services

Edit IPSec VPN service

Edit IPSec VPN service for given logical router.

Request:

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

Example Request:

PUT https://<nsx-mgr>/api/v1/vpn/ipsec/services/f770a847-a6c9-4bc0-94cb-1dd1d5ae622a { "resource_type" : "IPSecVPNService", "description" : "Manage VPN serviceplr1", "id" : "f770a847-a6c9-4bc0-94cb-1dd1d5ae622a", "display_name" : "IPSec VPN serviceplr1", "logical_router_id" : "518cc148-75ce-4973-9a79-07da0b8b2147", "ike_log_level" : "ERROR", "enabled" : true, "_create_time" : 1517293097281, "_last_modified_user" : "admin", "_last_modified_time" : 1517293097281, "_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:
IPSecVPNService+

Example Response:

{ "resource_type" : "IPSecVPNService", "description" : "Manage VPN serviceplr1", "id" : "f770a847-a6c9-4bc0-94cb-1dd1d5ae622a", "display_name" : "IPSec VPN serviceplr1", "logical_router_id" : "518cc148-75ce-4973-9a79-07da0b8b2147", "ike_log_level" : "ERROR", "enabled" : true, "_create_time" : 1517293097281, "_last_modified_user" : "admin", "_last_modified_time" : 1517293097281, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

crud

Feature:

vpn

Additional Errors: