---
title: "Changes to changes the size of the tty for a container"
method: POST
path: "/containers/{id}/resize"
---

# Changes to changes the size of the tty for a container

`POST /containers/{id}/resize`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 69 revisions.

- **2018-08-21** `c21008fe7d6f`: 2 warning, 4 info

## Changes

- **2018-08-21** `c21008fe7d6f`: 2 warning, 4 info
  - deleted the `query` request parameter `height`
  - deleted the `query` request parameter `width`
  - added the new optional `query` request parameter `h`
  - added the new optional `query` request parameter `w`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`

---

[Operation](https://skmtc.dev/aliyun/apis/pouch-engine-api/docs/containers/:id/resize/post.md) - [API](https://skmtc.dev/aliyun/apis/pouch-engine-api.md) - [Page](https://skmtc.dev/aliyun/apis/pouch-engine-api/changes/containers/:id/resize/post)
