Validated on 31 Oct 2019 • Last edited on 2 Jul 2024
disk image
Snapshots are on-demand disk images of DigitalOcean Droplets and volumes saved to your account. Use them to create new Droplets and volumes with the same contents.
Snapshots remain in your account until you manually delete them. Deleting a snapshot does not affect the usability of any other snapshots.
Delete a Snapshot using Automation
How to Delete a Snapshot Using the DigitalOcean CLI
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.snapshots.delete(snapshot_id="fbe805e8")
Delete a Snapshot using the Control Panel
To delete a snapshot from your team, in the control panel’s left menu, click Backups & Snapshots. The Snapshots tab lists all snapshots in your account.
Snapshots are separated into two lists: one for Droplet snapshots and one for volume snapshots. To remove a snapshot, open its More menu and click Delete. In the confirmation window that opens, click Delete Snapshot to permanently delete the snapshot.