Atom feed of this document
 
 
 

 4.2.3. Delete Container

DELETE operations against a storage container permanently remove it. The container must be empty before it can be deleted.

A HEAD request against the container will list any objects it contains.

 

Example 4.20. Container Delete Request

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

No content is returned. A status code of 204 (No Content) indicates success; 404 (Not Found) is returned if the requested container was not found; a 409 (Conflict) is returned if the container is not empty. No response body is generated.

 

Example 4.21. Container Delete Response

  HTTP/1.1 204 No Content
  Date: Thu, 07 Jun 2007 18:57:07 GMT
  Content-Length: 0
  Content-Type: text/plain; charset=UTF-8
                    



loading table of contents...