---
title: "PUT /containers/{id}/archive"
method: PUT
path: "/containers/{id}/archive"
---

# PUT /containers/{id}/archive

`PUT /containers/{id}/archive`

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

## Path parameters

- `id` string, required

## Query parameters

- `path` string, required
- `noOverwriteDirNonDir` string
- `copyUIDGID` string

## Response `204`

There is no content to send for this request, but the headers may be useful.

## Changes

- **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`
  - …4 more

[Change history](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/archive/put.md)

---

[API](https://skmtc.dev/hexlet/apis/docker-engine-api.md) · [All operations](https://skmtc.dev/hexlet/apis/docker-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexlet/docker-engine-api/revisions/7dbd508c79cf/schema)
