Deleting a VPN service (V2 service)

This section explains the procedure for deleting a VPN service.

The basic procedure for deletion is the reverse of the procedure for creation.

  1. Configure the following.
    $ TMP_VPN_ID=<VPN Service ID>
  2. Execute the following API.
    $ curl -X DELETE -sS -i $NETWORK/v2.0/vpn/vpnservices/$TMP_VPN_ID \
    -H "X-Auth-Token:$OS_AUTH_TOKEN" -H "Content-Type:application/json"
    HTTP/1.1 204 No Content
    Server: Apache
    Date: Www, DD MMM yyyy hh:mm:ss GMT
    x-compute-request-id: req-<ID>
    Cache-Control: no-cache
    X-Request-Id: <ID>
    X-Runtime: <runtime>
    Keep-Alive: timeout=5, max=100
    Content-Type: text/html; charset=UTF-8
    Content-Length: 0