MENU
      DeleteObject

        DeleteObject


        Article summary

        Available in Classic/VPC

        Delete a specific object. No request query parameter or request body is used in the operation.

        Requests

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

        MethodURI
        DELETE/{bucket-name}/{object-name}

        Request syntax

        The request syntax is as follows.

        DELETE https://{endpoint}/{bucket-name}/{object-name} # path style
        DELETE https://{bucket-name}.{endpoint}/{object-name} # virtual host style
        HTTP

        Request headers

        For headers common to all Object Storage APIs, see Object Storage common request headers.

        Request path parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        bucket-nameStringRequiredName of the bucket to delete the object from
        object-nameStringRequiredName of the object to delete

        Request example

        The following is a sample request.

        DELETE /example-bucket/soldier-bee HTTP/1.1
        Authorization: {authorization-string}
        Host: kr.object.ncloudstorage.com
        HTTP

        Responses

        The following describes the response format.

        Response headers

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

        Response status codes

        For response status codes common to all Object Storage APIs, see Object Storage response status codes.

        Response example

        The following is a sample response.

        HTTP/1.1 204 No Content
        Date: Thu, 25 Aug 2016 17:44:57 GMT
        x-amz-request-id: 8ff4dc32-a6f0-447f-86cf-427b564d5855
        Accept-Ranges: bytes
        HTTP

        Was this article helpful?

        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.