Update VPN Service

Verb URI Description
PUT /vpn/vpnservices/service-id Updates a VPN service, 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.174. Update VPN Service: Request

PUT /v2.0/vpn/vpnservices/41bfef97-af4e-4f6b-a5d3-4678859d2485.json
User-Agent: python-neutronclient
Accept: application/json
                
{
  "vpnservice": {
    "description": "Updated description"
  }
}

 

Example 4.175. Update VPN Service: Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
                
{
  "vpnservice": {
    "router_id": "881b7b30-4efb-407e-a162-5630a7af3595",
    "status": "ACTIVE",
    "name": "myvpn",
    "admin_state_up": true,
    "subnet_id": "25f8a35c-82d5-4f55-a45b-6965936b33f6",
    "tenant_id": "26de9cd6cae94c8cb9f79d660d628e1f",
    "id": "41bfef97-af4e-4f6b-a5d3-4678859d2485",
    "description": "Updated description"
  }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...