How to Delete Snapshots

Updated on December 12, 2024

Deleting snapshots completely removes the resource from your account. You should only do this operation after restoring a snapshot to a Vultr Cloud Compute instance or after provisioning a Vultr Cloud Compute instance using the snapshot image. After deleting a snapshot, you can't undo the operation, so you should take great care.

Follow this guide to delete snapshots using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Orchestration.

  2. Click Snapshots. Select the target snapshot from the list and click the delete icon to remove the snapshot.

    Take Snapshot

  3. Click Remove Snapshot to confirm.

    Confirm Deleting Snapshot

  1. Send a GET request to the List Snapshots endpoint to list all snapshots.

    console
    $ curl "https://api.vultr.com/v2/snapshots" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a DELETE request to the Delete Snapshot endpoint specifying a snapshot ID to delete a snapshot.

    console
    $ curl "https://api.vultr.com/v2/snapshots/snapshot_id" \
        -X DELETE \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    

    Visit the Delete Snapshot endpoint to view additional attributes to add to your request.

  1. List all snapshots and note the target snapshot's ID.

    console
    $ vultr-cli snapshot list
    
  2. Delete a snapshot by specifying a snapshot ID.

    console
    $ vultr-cli snapshot delete snapshot_id
    

    Run vultr-cli snapshot delete --help to view all options.