DeleteObject

Prev Next

개요

오브젝트 경로가 지정된 DELETE 요청을 보내면 오브젝트를 삭제합니다. 오퍼레이션에 사용되는 파라미터, 페이로드는 없습니다.

구문

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

예시

요청 예시

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

응답 예시

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