11.5. Deleting floating IPs¶
DELETE /v2.0/floatingips/{floatingip_id}
Delete a floating IP and, if present, its associated port.
11.5.1. Request¶
Name | In | Type | Description |
---|---|---|---|
floatingip_id |
path | string | The ID of the floating IP address. |
11.5.1.1. 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
11.5.2. Response¶
11.5.2.1. Status codes¶
11.5.2.1.1. Success¶
Code | Reason |
---|---|
204 - No Content |
The server has fulfilled the request. |
11.5.2.1.2. 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. |
Version 5.0.0 — Feb 01, 2022