Deleting a global IP address

This section explains how to delete a global IP address.

Deletion of a global IP address is basically the procedure for creating a global IP address done in reverse.

Note: Even if you delete a virtual server for which a global IP address has been specified, the global IP address will not be deleted automatically.
  1. Set the environment variables below as follows:
    $ TMP_FLOATINGIP_ID=<globalIpAddrIdTargetedForDeletion>
  2. Execute the following API:
    $ curl -i -Ss $NETWORK/v2.0/floatingips/$TMP_FLOATINGIP_ID -X DELETE \
    -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-<reqId>
    Cache-Control:  no-cache
    X-Request-Id:  <xReqId>
    X-Runtime:  <runTime>
    Keep-Alive:  timeout=5, max=100