Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

How to Delete an Azure Blob Storage Snapshot Without Deleting the Base Blob

Use a snapshot URI to delete one Azure Blob Storage snapshot, or choose Azure CLI/REST only to remove snapshots while preserving the base blob. Learn when include, leases, permissions and soft delete change the result.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For an Azure Blob Storage snapshot, delete one snapshot by sending Delete Blob to its snapshot URI, or delete every snapshot while keeping the current blob by targeting the base blob with x-ms-delete-snapshots: only. Use include only when you intend to delete the base blob and all of its snapshots.

First confirm which Azure resource you are deleting

This procedure applies to a read-only point-in-time version of a blob in Azure Blob Storage. It does not apply to an Azure Compute managed disk snapshot, which is a separate resource managed through the Compute API.

As an Amazon Associate I earn from qualifying purchases.

Identify the storage account, container, base blob name and, when deleting one snapshot, its snapshot identifier. A snapshot-specific REST URI includes the snapshot timestamp as a query parameter:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

https://<account>.blob.core.windows.net/<container>/<blob>?snapshot=<DateTime>

Choose the deletion scope

Operation Target What remains Required choice
Delete one snapshot The snapshot URI, including snapshot=<DateTime> The base blob and other snapshots No base-blob snapshot option; address the specific snapshot
Delete all snapshots but keep the blob The base blob URI The base blob; all snapshots are removed x-ms-delete-snapshots: only
Delete the blob and all snapshots The base blob URI Nothing from that blob hierarchy x-ms-delete-snapshots: include

If a base blob has snapshots, omitting the required snapshot option can produce a conflict. Treat include as destructive: it removes the current blob as well as every snapshot.

#1 Best Overall
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Delete a single blob snapshot with REST

  1. Construct the blob URL with the exact snapshot timestamp returned when the snapshot was created.
  2. Send an authenticated DELETE request to that snapshot URL. Microsoft describes this operation as deleting the specified blob or snapshot.
  3. Check for a successful response, then verify that the base blob still exists and that only the addressed snapshot is gone.

Do not substitute the base blob URL when you mean to remove only one snapshot; that changes the operation’s scope.

Remove snapshots with Azure CLI

The Azure CLI exposes the same two bulk choices through az storage blob delete. Supply your account, container and blob identifiers together with the option that matches the intended result:

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
az storage blob delete 
  --account-name <storage-account> 
  --container-name <container> 
  --name <blob-name> 
  --delete-snapshots only

--delete-snapshots only deletes the blob’s snapshots and preserves the base blob. To delete the base blob and all snapshots instead, change the final option:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
az storage blob delete 
  --account-name <storage-account> 
  --container-name <container> 
  --name <blob-name> 
  --delete-snapshots include

Authenticate the command using your approved Azure CLI method and verify the account, container and blob values before execution. The CLI’s only and include meanings match the REST header choices.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Permissions, authorization and leases

Required data action

The delete operation requires the Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete authorization action. Microsoft lists Storage Blob Data Contributor as the least-privileged built-in role that includes it. Microsoft recommends Microsoft Entra ID authorization where it fits your access model.

Active lease

If the blob has an active lease, the request must include its valid lease ID. A missing or incorrect lease ID causes the delete to fail even when the caller otherwise has delete permission. Check lease state and obtain the current lease ID before retrying.

Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Understand soft delete before expecting permanent removal

When blob soft delete is enabled, deleting a blob or snapshot makes it inaccessible but retains it for the account’s configured retention period. During that window, the data can be restored with Undelete Blob; a successful delete response therefore does not necessarily mean immediate physical erasure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Permanent deletion of a soft-deleted snapshot or version is a separate capability. It must be enabled on the storage account and is supported from REST API version 2020-02-10. This permanent-delete action applies to data that is already soft-deleted; it is not the same as choosing only or include for the initial delete.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Safe deletion checklist

  • Confirm the resource is a Blob Storage snapshot, not a managed disk snapshot.
  • Verify the storage account, container, blob name and (for a single deletion) exact snapshot timestamp.
  • Decide whether the base blob must remain.
  • Use a snapshot URI for one snapshot, only for all snapshots while retaining the blob, or include for the blob plus all snapshots.
  • Confirm the caller has the documented delete action and account access.
  • Check for an active lease and provide its valid lease ID.
  • Check soft-delete retention and recovery expectations before treating the operation as irreversible.

If the delete fails

Conflict on the base blob

A base-blob delete can conflict when snapshots exist and no snapshot directive was supplied. Retry with the explicitly intended only or include setting.

Authorization failure

Review the caller’s data-plane role and scope. The management-plane role used to administer the storage account is not automatically proof that the caller has the blob data delete action.

Lease-related failure

Retrieve the current lease information and retry with the valid lease ID, or release the lease through your normal change process if that is allowed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Data still appears recoverable

Check whether soft delete is enabled and note its retention period. A soft-deleted snapshot remains recoverable until that policy expires unless an enabled permanent-delete operation is used.

Quick Recap

Bestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$213.60
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$189.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.