Delete Floating IP
DELETE
/v2.0/floatingips/{floatingip_id}Delete a floating IP and, if present, its associated port.
info
Source: delete-floating-ip
Request
Parameters
floatingip_idstringrequiredThe ID of the floating IP address.
Sample Request
- cURL
- HTTP
curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<..>' \
https://api.vietnix.cloud:9696/v2.0/floatingips/4f2038c2-bd8d-4c78-b65d-7d19eb96e3b1
DELETE https://api.vietnix.cloud:9696/v2.0/floatingips/4f2038c2-bd8d-4c78-b65d-7d19eb96e3b1
Content-Type: application/json
X-Auth-Token: gAAAAA<..>
Response
Status Codes
Success
| Status Code | Description |
|---|---|
| 204 - No Content | The server has fulfilled the request. |
Error
| Status Code | Description |
|---|---|
| 401 - Unauthorized | User must authenticate before making a request. |
| 404 - Not Found | The requested resource could not be found. |
| 412 - Precondition Failed | The server does not meet one of the preconditions that the requester put on the request header fields. |