Delete Object

Prev Next

Available in Classic and VPC

Delete a saved object.

Requests

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

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

Request headers

The following describes the headers.

Field Type Required Description
X-Auth-Token String Optional Value of the issued token

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 where the target object will be stored
object String Required Target object name

Request query parameters

The following describes the parameters.

Field Type Required Description
multipart-manifest String Conditional Specify large objects
  • Entering delete as the value deletes both the parts and the manifest
  • If unspecified, only the manifest is deleted and the parts remain

Request example

The following is a sample request.

curl -L -X DELETE 'https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}/{object}' \
-H 'X-Auth-Token: {token}'

Responses

The following describes the response format.

Response headers

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

Response status codes

The following describes the response status codes.

HTTP status code Code Message Description
204 - No Content Request succeeded

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: tx1fe22f08d64b4cf48a1fa-005b9f6647
X-Openstack-Request-Id: tx1fe22f08d64b4cf48a1fa-005b9f6647
Date: Mon, 17 Sep 2018 08:31:03 GMT