--- title: "DeleteBucket " slug: "storage-objectstorage-deletebucket" updated: 2026-10-22T10:47:58Z published: 2026-10-22T10:47:58Z canonical: "api-gov.ncloud-docs.com/storage-objectstorage-deletebucket" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # DeleteBucket Classic/VPC 환경에서 이용 가능합니다. 데이터가 없는 버킷을 삭제합니다. 오퍼레이션에 사용되는 요청 쿼리 파라미터, 요청 바디는 없습니다. 참고 사용자가 버킷을 삭제하고 10분 후에 해당 버킷의 이름이 시스템에서 삭제됩니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | DELETE | {bucket-name} | ### 요청 구문 ``` DELETE https://{endpoint}/{bucket-name} # path style DELETE https://{bucket-name}.{endpoint} # virtual host style ``` ### 요청 헤더 Object Storage API에서 공통으로 사용하는 헤더에 대한 자세한 내용은 [Object Storage 공통 헤더](/docs/storage-objectstorage#%EA%B3%B5%ED%86%B5%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `bucket-name` | String | Required | 삭제할 버킷 이름 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` DELETE /{bucket-name} HTTP/1.1 Host: kr.object.gov-ncloudstorage.com X-Amz-Date: {Timestamp} Authorization: {authorization-string} ``` ## 응답 응답 형식을 설명합니다. 참고 삭제하려는 버킷이 빈 버킷이 아닐 경우 서버에서 409 Conflict로 응답합니다. ### 응답 헤더 Object Storage API에서 공통으로 사용하는 응답 헤더에 대한 자세한 내용은 [Object Storage 공통 응답 헤더](/docs/storage-objectstorage#%EA%B3%B5%ED%86%B5%EC%9D%91%EB%8B%B5%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 응답 상태 코드 Object Storage API에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 [Object Storage 응답 상태 코드](/docs/storage-objectstorage#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. #### 정상 정상 응답 시의 예시는 다음과 같습니다. ``` HTTP/1.1 200 OK Date: Thu, 04 Apr 2024 04:51:44 GMT x-amz-request-id: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx Accept-Ranges: bytes ``` #### 에러 409 Conflict 에러 발생 시 예시는 다음과 같습니다. ``` HTTP/1.1 409 Conflict Date: Thu, 04 Apr 2024 04:51:44 GMT x-amz-request-id: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx Content-Type: application/xml Content-Length: 285 ``` ``` BucketNotEmpty The bucket you tried to delete is not empty. /apiary/ 9d2bbc00-2827-4210-b40a-8107863f4386 409 ```