Skip to main content
POST
/
v1
/
processes
/
{id}
/
terminal
/
resize
Resize a process terminal.
curl --request POST \
  --url http://localhost:2468/v1/processes/{id}/terminal/resize \
  --header 'Content-Type: application/json' \
  --data '
{
  "cols": 1,
  "rows": 1
}
'
{
  "cols": 1,
  "rows": 1
}

Path Parameters

id
string
required

Process ID

Body

application/json
cols
integer<int32>
required
Required range: x >= 0
rows
integer<int32>
required
Required range: x >= 0

Response

Resize accepted

cols
integer<int32>
required
Required range: x >= 0
rows
integer<int32>
required
Required range: x >= 0