Atom feed of this document
 
 
 

 4.2.11. Delete Object

DELETE operations on an object are used to permanently remove an object from the storage system (data and metadata).

Deleting an object is processed immediately at the time of the request. Any subsequent GET, HEAD, POST, or DELETE operations will return a 404 (Not Found) error.

Objects with the X-Delete-At or X-Delete-After header assigned are deleted within one day of the expiration time and the object is not served immediately after the expiration time. Refer to Expiring Objects for more details.

 

Example 4.49. Object Delete Request

  DELETE /<api version>/<account>/<container>/<object> HTTP/1.1
  Host: storage.clouddrive.com
  X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
                    

No response body is returned. A status code of 204 (No Content) indicates success; status code 404 (Not Found) is returned when the object does not exist.

 

Example 4.50. Object Delete Response

  HTTP/1.1 204 No Content
  Date: Thu, 07 Jun 2007 20:59:39 GMT
  Content-Type: text/plain; charset=UTF-8
                    



loading table of contents...