| Verb | URI | Description |
| PUT | /vpn/ipsec-site-connections/connection-id |
Updates an IPSec site-to-site connection, provided status is not indicating a PENDING_* state. |
Normal Response Code: 200
Error Response Codes: Unauthorized (401), Bad Request (400), Not Found (404)
Example 4.204. Update IPSec Site Connection: Request
PUT /v2.0/vpn/ipsec-site-connections/f7cf7305-f491-45f4-ad9c-8e7240fe3d72.json
User-Agent: python-neutronclient
Accept: application/json
{
"ipsec_site_connection": {
"mtu": "2000"
}
}
Example 4.205. Update IPSec Site Connection: Response
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
{
"ipsec_site_connection": {
"status": "DOWN",
"psk": "secret",
"initiator": "bi-directional",
"name": "vpnconnection1",
"admin_state_up": true,
"tenant_id": "26de9cd6cae94c8cb9f79d660d628e1f",
"description": "",
"auth_mode": "psk",
"peer_cidrs": [
"10.2.0.0/24"
],
"mtu": 2000,
"ikepolicy_id": "771f081c-5ec8-4f9a-b041-015dfb7fbbe2",
"dpd": {
"action": "hold",
"interval": 30,
"timeout": 120
},
"route_mode": "static",
"vpnservice_id": "41bfef97-af4e-4f6b-a5d3-4678859d2485",
"peer_address": "172.24.4.233",
"peer_id": "172.24.4.233",
"id": "f7cf7305-f491-45f4-ad9c-8e7240fe3d72",
"ipsecpolicy_id": "9958d4fe-3719-4e8c-84e7-9893895b76b4"
}
}

