Skip to content
  • Auto
  • Light
  • Dark

Delete

Delete a Floating IP
client.gpuDroplets.floatingIPs.delete(stringfloatingIP, RequestOptionsoptions?): void
delete/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.

ParametersExpand Collapse
floatingIP: string
Delete a Floating IP
import Gradient from '@digitalocean/gradient';

const client = new Gradient();

await client.gpuDroplets.floatingIPs.delete('45.55.96.47');
Returns Examples