---
title: "Changes to Extract an archive of files or folders to a directory in a container"
method: PUT
path: "/containers/{id}/archive"
---

# Changes to Extract an archive of files or folders to a directory in a container

`PUT /containers/{id}/archive`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 79 revisions.

- **2026-02-24** `6df97b60796c`: 2 breaking, 6 info
- **2026-02-14** `31f80d10d31a`: 2 breaking, 6 info
- **2026-02-09** `831637d06c77`: 1 breaking, 4 info

## Changes

- **2026-02-24** `6df97b60796c`: 2 breaking, 6 info
  - removed the request body
  - removed the success response with the status `204`
  - api tag `Container` added
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
  - added the success response with the status `200`
- **2026-02-14** `31f80d10d31a`: 2 breaking, 6 info
  - removed the media type `application/x-tar` from the request body
  - removed the success response with the status `200`
  - api tag `Container` removed
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`
  - added the success response with the status `204`
- **2026-02-09** `831637d06c77`: 1 breaking, 4 info
  - added required request body
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `404`
  - added the media type `application/json` for the response with the status `500`

---

[Operation](https://skmtc.dev/hexlet/apis/docker-engine-api/docs/containers/:id/archive/put.md) - [API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) - [Page](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/archive/put)
