DeleteObject
    • PDF

    DeleteObject

    • PDF

    Article Summary

    Classci/VPC 환경에서 이용 가능합니다.

    특정 오브젝트를 삭제합니다. 오퍼레이션에 사용되는 요청 쿼리 파라미터, 요청 바디는 없습니다.

    요청

    요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

    메서드URI
    DELETE/{bucket-name}/{object-name}

    요청 구문

    요청 구문은 다음과 같습니다.

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

    요청 헤더

    Object Storage API에서 공통으로 사용하는 헤더에 대한 자세한 내용은 Object Storage 공통 요청 헤더를 참조해 주십시오.

    요청 경로 파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    bucket-nameStringRequired오브젝트를 삭제할 버킷 이름
    object-nameStringRequired삭제할 오브젝트 이름

    요청 예시

    요청 예시는 다음과 같습니다.

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

    응답

    응답 형식을 설명합니다.

    응답 헤더

    Object Storage API에서 공통으로 사용하는 응답 헤더에 대한 자세한 내용은 Object Storage 공통 응답 헤더를 참조해 주십시오.

    응답 상태 코드

    Object Storage API에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 Object Storage 응답 상태 코드를 참조해 주십시오.

    응답 예시

    응답 예시는 다음과 같습니다.

    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
    

    이 문서가 도움이 되었습니까?

    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.