Delete
Delete a Floating IP
gpu_droplets.floating_ips.delete(strfloating_ip)
/v2/floating_ips/{floating_ip}
To delete a floating IP and remove it from your account, send a DELETE request
to /v2/floating_ips/$FLOATING_IP_ADDR.
A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.
Parameters
floating_ip: str
formatipv4
minimum1
Delete a Floating IP
from gradient import Gradient
client = Gradient(
access_token="My Access Token",
)
client.gpu_droplets.floating_ips.delete(
"45.55.96.47",
)