---
title: "POST /containers/{id}/resize"
method: POST
path: "/containers/{id}/resize"
---

# POST /containers/{id}/resize

`POST /containers/{id}/resize`

Resize a container TTY

## Path parameters

- `id` string, required

## Query parameters

- `h` integer, required
- `w` integer, required

## Response `204`

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

## Changes

- **2026-02-14** `31f80d10d31a` — 3 breaking, 4 info
  - for the `query` request parameter `h`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - for the `query` request parameter `w`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - removed the success response with the status `200`
  - api tag `Container` removed
  - …3 more

[Change history](https://skmtc.dev/hexlet/apis/docker-engine-api/changes/containers/:id/resize/post.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)
