Delete Object
    • PDF

    Delete Object

    • PDF

    Article summary

    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.

    MethodURI
    DELETE/v1/AUTH_{project_id}/{container}/{object}

    Request headers

    The following describes the headers.

    FieldTypeRequiredDescription
    X-Auth-TokenStringOptionalValue of the issued token

    Request path parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    project_idStringRequiredProject ID
    containerStringRequiredName of the container where the target object will be stored
    objectStringRequiredTarget object name

    Request query parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    multipart-manifestStringConditionalSpecify 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 codeCodeMessageDescription
    204-No ContentRequest 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
    

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.