---
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.

---

[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)
