I am trying to do some automation using [`PUT Block`](https://learn.microsoft.com/en-us/rest/api/storageservices/put-block) in Azure Blob Storage.

My questions are:

**Q1. Do uncommitted blocks reserve space?**

**Q2. How can I delete the uncommitted blocks?**

* The method I am using now is to get all the uncommitted blocks by [`GET Block List`](https://learn.microsoft.com/en-us/rest/api/storageservices/get-block-list).
* Commit the uncommitted blocks using [`PUT Block List`](https://learn.microsoft.com/en-us/rest/api/storageservices/put-block-list) and then delete the blob
altogether to free up space.

Is there any better way of deleting uncommitted blocks?