---
title: "changes the size of the tty for an exec process"
method: POST
path: "/exec/{id}/resize"
tags: ["Exec"]
---

# changes the size of the tty for an exec process

`POST /exec/{id}/resize`

## Path parameters

- `id` string, required

## Query parameters

- `h` string
- `w` string

## Response `200`

no error

## Other responses

- `400` — bad parameter
- `404` — An unexpected 404 error occurred.
- `500` — An unexpected server error occurred.

## Changes

- **2018-08-16** `c21008fe7d6f` — 1 info
  - endpoint added
- **2018-08-03** `5ae9c809fadb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/aliyun/apis/pouch-engine-api/changes/exec/:id/resize/post.md)

---

[API](https://skmtc.dev/aliyun/apis/pouch-engine-api.md) · [All operations](https://skmtc.dev/aliyun/apis/pouch-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aliyun/pouch-engine-api/revisions/36d75b2825fc/schema)
