Deleting floating IPs
DELETE /v2.0/floatingips/{floatingip_id}
Delete a floating IP and, if present, its associated port.
Request
Parameters
Name | In | Type | Description |
---|---|---|---|
floatingip_id
|
path | string | The ID of the floating IP address. |
Example
# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<..>' \ https://<node_IP_addr>:9696/v2.0/floatingips/239fe333-b801-4096-a04f-20f33f6177c3
Response
Status codes
Success
Code | Reason |
---|---|
204 - No Content
|
The server has fulfilled the request. |
Error
Code | Reason |
---|---|
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. |