---
title: "Resize a PTY-backed process"
method: POST
path: "/process/{process_id}/resize"
---

# Resize a PTY-backed process

`POST /process/{process_id}/resize`

## Path parameters

- `process_id` string, uuid, required

## Request body

- ProcessResizeRequest — Resize a PTY-backed process.
  - `rows` integer, required — New terminal rows.
  - `cols` integer, required — New terminal columns.

## Response `200`

OK

- OkResponse — Generic OK response.
  - `ok` boolean, required — Indicates success.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

> 52 revisions in range; 4 could not be searched.

- **2025-12-31** `fdab5b26abe6` — 1 info
  - endpoint added
- **2025-06-27** `f980a92ab23f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kernel/apis/kernel-images-api/changes/process/:process_id/resize/post.md)

---

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