DeleteContainer

Prev Next

Available in Classic and VPC

Delete containers (buckets) with no data.

Note

Sub accounts can use it through the external API Gateway dedicated to sub accounts.
For more information, see the DeleteContainer API of Sub Account.

Requests

The following describes the request format for the endpoint. The request format is as follows.

Method URI
DELETE /v1/AUTH_{project_id}/{container}

Request headers

For headers common to all Archive Storage APIs, see Archive Storage common headers.

Request path parameters

The following describes the parameters.

Field Type Required Description
project_id String Required Project ID
container String Required Name of the container (bucket) to set or edit

Request example

The following is a sample request.

curl -X DELETE "https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}" 
-H "X-Auth-Token: $token"

Responses

The following describes the response format.

Response headers

For response headers common to all Archive Storage APIs, see Archive Storage common response headers.

Response example

The following is a sample response.

HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx762d33b115e748a29fb6e-005b98975b
X-Openstack-Request-Id: tx762d33b115e748a29fb6e-005b98975b
Date: Wed, 12 Sep 2018 04:34:35 GMT