| Verb | URI | Description |
| PUT | /vpn/ipsecpolicies/ipsecpolicy-id |
Updates a IPSec policy. |
Normal Response Code: 200
Error Response Codes: Unauthorized (401), Bad Request (400), Not Found (404)
Example 4.194. Update IPSec Policy: Request
PUT /v2.0/vpn/ipsecpolicies/5291b189-fd84-46e5-84bd-78f40c05d69c.json
User-Agent: python-neutronclient
Accept: application/json
{
"ipsecpolicy": {
"pfs": "group14"
}
}
Example 4.195. Update IPSec Policy: Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
{
"ipsecpolicy": {
"name": "ipsecpolicy1",
"transform_protocol": "esp",
"auth_algorithm": "sha1",
"encapsulation_mode": "tunnel",
"encryption_algorithm": "aes-128",
"pfs": "group14",
"tenant_id": "ccb81365fe36411a9011e90491fe1330",
"lifetime": {
"units": "seconds",
"value": 3600
},
"id": "5291b189-fd84-46e5-84bd-78f40c05d69c",
"description": ""
}
}

