Validated on 15 Nov 2019 • Last edited on 14 Aug 2024
ip
DigitalOcean Reserved IP addresses are a publicly-accessible static IP addresses. Assign and reassign reserved IP addresses to Droplets as needed, or implement a failover mechanism with reserved IPs to build a high availability infrastructure.
Deleting a reserved IP unassigns it and permanently removes it from your account.
Delete an Assigned IP Using Automation
How to Delete a Reserved IP Using the DigitalOcean CLI
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.reserved_ips.delete(reserved_ip="45.55.96.47")
Delete an Assigned IP Using the Control Panel
To delete a reserved IP from the control panel, click Networking in the main menu, then click the Reserved IPs tab. Open the More menu of the reserved IP you want to delete, then click Delete.
In the confirmation window, click Delete Reserved IP to perform the deletion.