--- title: "오브젝트 생명 주기 관리" slug: "archivestorage-expiringobjects" tags: ["Archive Storage"] updated: 2026-09-17T09:08:22Z published: 2026-09-17T09:08:22Z canonical: "guide.ncloud-docs.com/archivestorage-expiringobjects" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 오브젝트 생명 주기 관리 Classic/VPC 환경에서 이용 가능합니다. 원하는 시간에 자동으로 오브젝트가 삭제되도록 설정하는 오브젝트 생명 주기 관리 방법을 설명합니다. 오브젝트 PUT(업로드) 요청 또는 업로드 이후 POST 요청 시 X-Delete-At 또는 X-Delete-After 헤더를 사용하여 생명 주기를 설정할 수 있습니다. X-Delete-After 헤더로 요청하여 설정하더라도 X-Delete-At으로 변환되어 저장됩니다. 생명 주기 설정을 해제하려면 X-Remove-Delete-At 혹은 X-Remove-Delete-After 헤더를 사용합니다. | 이름 | 적용 위치 | 타입 | 설명 | | --- | --- | --- | --- | | X-Delete-At | header | integer | 해당 오브젝트의 삭제 시간 입력(Unix Epoch timestamp) | | X-Delete-After | header | integer | 입력한 시간 이후에 해당 오브젝트 삭제(seconds) | 참고 생명 주기는 단일 오브젝트별로 적용할 수 있습니다. 생명 주기를 설정할 오브젝트가 DLO이나 SLO로 업로드된 경우, 세그먼트 오브젝트와 매니페스트 오브젝트의 생명 주기를 각각 설정해야 합니다. 주의 생명 주기 설정으로 삭제된 오브젝트는 복구할 수 없습니다. ### 오브젝트 생명 주기 설정(PUT) 오브젝트 업로드(PUT) 요청에 X-Delete-At 혹은 X-Delete-After 헤더를 포함하여 생명 주기를 설정하는 예시는 다음과 같습니다. **구문** ``` PUT /v1/AUTH_{project_id}/{container}/{object} ``` **요청 예시** ``` curl -i -X PUT -H "X-Delete-At: 1540520319" -H "X-Auth-Token: $token" -T "/FILE_PATH/OBJECT" https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}/{object} ``` 또는 ``` curl -i -X PUT -H "X-Delete-After: 3600" -H "X-Auth-Token: $token" -T "/FILE_PATH/OBJECT" https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}/{object} ``` ### 오브젝트 생명 주기 설정(POST) 오브젝트 POST 요청에 X-Delete-At 혹은 X-Delete-After 헤더를 포함하여 생명 주기를 설정하는 예시는 다음과 같습니다. **구문** ``` POST /v1/AUTH_{project_id}/{container}/{object} ``` **요청 예시** ``` curl -i -X POST -H "X-Delete-At: 1540520319" -H "X-Auth-Token: $token" https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}/{object} ``` 또는 ``` curl -i -X POST -H "X-Delete-After: 3600" -H "X-Auth-Token: $token" https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}/{object} ``` ### 오브젝트 생명 주기 조회 오브젝트에 설정된 생명 주기를 조회하는 예시는 다음과 같습니다. **구문** ``` HEAD /v1/AUTH_{project_id}/{container}/{object} ``` **요청 예시** ``` curl -i -X HEAD -H "X-Auth-Token: $token" https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}/{object} ``` **응답 예시** ``` HTTP/1.1 200 OK Content-Length: 4 X-Delete-At: 1540520319 Accept-Ranges: bytes Last-Modified: Fri, 26 Oct 2018 02:25:30 GMT Etag: 098f6bcd4621d373cade4e832627b4f6 X-Timestamp: 1540520729.75505 Content-Type: text/html X-Trans-Id: txeaa0f1050fcf4cad9ccce-005bd27b8d X-Openstack-Request-Id: txeaa0f1050fcf4cad9ccce-005bd27b8d Date: Fri, 26 Oct 2018 02:27:25 GMT ``` ### 오브젝트 생명 주기 해제 Archive Storage에서는 수명주기 헤더(X-Delete-At)를 직접 해제하는 기능(X-Remove-Delete-At 헤더 설정)을 지원하지 않습니다. 이미 수명주기 헤더가 설정된 객체는 지정된 삭제 시점까지 삭제할 수 없으며, 삭제가 필요한 경우 동일한 키로 객체를 다시 업로드(덮어쓰기) 하여 수명주기 설정을 제거한 뒤 삭제해 주시기 바랍니다.