--- title: "DeleteContainer" slug: "storage-archivestorage-deletecontainer-subaccount" tags: ["Subaccount"] updated: 2026-10-22T10:47:58Z published: 2026-10-22T10:47:58Z canonical: "api-gov.ncloud-docs.com/storage-archivestorage-deletecontainer-subaccount" --- > ## 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. # DeleteContainer Classic/VPC 환경에서 이용 가능합니다. 데이터가 없는 컨테이너(버킷)를 삭제합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | DELETE | /{containerName} | ### 요청 헤더 헤더에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `x-ncp-apigw-timestamp` | String | Required | 타임스탬프 값 - 1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초로 나타낸 것 - APIGW 서버와 시간차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주 | | `x-ncp-iam-access-key` | String | Required | 네이버 클라우드 플랫폼에서 발급받은 API Key 또는 Sub Account에서 발급받은 Access Key | | `x-ncp-apigw-signature-v2` | String | Required | Body를 Access Key ID와 맵핑되는 Secret Key로 암호화한 서명값 - HMAC 암호화 알고리즘은 HmacSHA256 사용 | | `x-ncp-region_code` | String | Required | 컨테이너의 리전 코드 - <예시> 한국: `KR` | ### 요청 경로 파라미터 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `containerName` | String | Required | 삭제할 컨테이너(버킷) 이름 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl -X DELETE " https://archivestorage.apigw.gov-ntruss.com/swift/v1/{containerName}" -H "accept: application/json" -H "x-ncp-region-code: {regionCode}" -H "x-ncp-iam-access-key: {AccessKey} " -H "x-ncp-apigw-timestamp: {current timestamp}" -H "x-ncp-apigw-signature-v2: {generated signature}" ``` ## 응답 응답 형식을 설명합니다. ### 응답 헤더 헤더에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `Server` | String | - | 응답 서버 | | `Date` | String | - | 해당 요청의 응답 시간(UTC) | | `Connection` | String | - | 클라이언트와 서버 간의 TCP 연결 상태 | | `Referrer-Policy` | String | - | HTTP Referrer 헤더 처리 방식 | | `x-ncp-apigw-response-origin` | String | - | 응답의 원본 출처 | | `x-ncp-trace-id` | String | - | 트랜잭션 추적용 ID | ### 응답 예시 응답 예시는 다음과 같습니다. ``` HTTP/1.1 204 No Content Server: nginx Date: Tue, 16 Apr 2024 02:55:54 GMT Connection: keep-alive Referrer-Policy: unsafe-url x-ncp-trace-id: 3cdj36li3ip9i36ohl64omapb2 x-ncp-apigw-response-origin: ENDPOINT ```