Riak CS OpenStack Delete Container

Deletes a container.


All objects in the container must be deleted before you can delete the container.


Request Syntax

DELETE /<api version>/<account>/<container> HTTP/1.1
Host: data.riak.com
X-Auth-Token: auth_token


This operation does not return a response.


Sample Request

A request that deletes a container named basho-docs.

DELETE /v1.0/deadbeef/basho-docs HTTP/1.1
Host: data.riak.com
Date: Wed, 06 Jun 2012 20:47:15 +0000
X-Auth-Token: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa

Sample Response

HTTP/1.1 204 No Content
Date: Wed, 06 Jun 2012 20:47:15 +0000
Connection: close
Server: RiakCS
Content-Length: 0
Content-Type: text/plain; charset=UTF-8