Validated on 27 Feb 2025 • Last edited on 28 Feb 2025
DigitalOcean Reserved IPs are publicly-accessible static IPv4 addresses. Assign and reassign reserved IP addresses to Droplets as needed, or implement an automated failover mechanism with reserved IPs to build a high availability infrastructure. IPv6 support is now available in public preview. Enroll in the feature preview to create reserved IPv6 addresses.
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")
To delete a reserved IPv6 address (currently available in public preview) instead of IPv4, replace reserved-ip with reserved-ipv6 in the previous examples.
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.