DeleteContainer
- Print
- PDF
DeleteContainer
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Deletes an empty container (bucket).
Syntax
DELETE /v1/AUTH_{project_id}/{container}
Request
Name | In | Type | Description |
---|---|---|---|
project_id | path | string | Project ID |
container | path | string | Container (bucket) name |
X-Auth-Token (Optional) | header | string | Token |
Response
Name | In | Type | Description |
---|---|---|---|
Date | header | string | Response time of the request (in UTC) |
Content-Length | header | string | Length of the response result (in bytes) |
Content-Type (Optional) | header | string | MIME type of the response result |
X-Trans-Id | header | string | Transaction ID of the request |
X-Openstack-Request-Id | header | string | Transaction ID of the request (same as X-Trans-Id) |
Examples
Request example
curl -i -X DELETE -H "X-Auth-Token: $token" https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}
Response example
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
It returns No Content (204) status code if the request is successful.
Was this article helpful?