Delete Object
- Print
- PDF
Delete Object
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Overview
Deletes an object.
Syntax
DELETE /v1/AUTH_{project_id}/{container}/{object}
Request
Name | In | Type | Description |
---|---|---|---|
project_id | path | string | Project ID |
container | path | string | Container (bucket) name |
object | path | string | Object name |
multipart-manifest (Optional) | query | string | If multipart-manifest=delete and the object is a large object (SLO), segment objects and manifest objects are all deleted. If this parameter is not specified and the object is an SLO, only manifest objects are deleted. |
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}/{object}
Response example
HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx1fe22f08d64b4cf48a1fa-005b9f6647
X-Openstack-Request-Id: tx1fe22f08d64b4cf48a1fa-005b9f6647
Date: Mon, 17 Sep 2018 08:31:03 GMT
Deletes an object.
It returns No Content (204) status code if successful.
Was this article helpful?