---
title: "SOS: Conditional Requests and Conditional Delete"
date: 2025-08-19
tags: ["Improvement","SOS"]
url: https://changelog.exoscale.com/sos-conditional-requests-and-conditional-delete/
---
# SOS: Conditional Requests and Conditional Delete

<div class="">Conditional requests have been implemented across SOS to enhance the safety of write and delete operations and improve the efficiency of read operations.<span style="white-space-collapse: preserve;"><b></b></span></div><h3>Key features include:</h3><ul><li><p><b>Conditional Delete (DeleteObject):</b> Utilize If-Match, If-Match-Size, and If-Match-Last-Modified-Time for safer deletions.</p></li><li><p><b>Conditional Get:</b> Employ If-Match / If-None-Match or If-Modified-Since / If-Unmodified-Since for efficient retrieval.</p></li><li><p><b>Conditional Put:</b> Use If-Match / If-None-Match for controlled writes.</p></li><li><p class=""><b>Conditional Copy:</b> Apply copy-source-if-match / copy-source-if-none-match or copy-source-if-modified-since / copy-source-if-unmodified-since for precise copying.</p></li><li><p class=""><b>Write-once policy example:</b> Enforce If-None-Match: "*" at the bucket level to ensure data is written only once.</p></li></ul>

[For a comprehensive guide, please refer to the Exoscale documentation](https://community.exoscale.com/product/storage/object-storage/how-to/conditionalrequests/) 

