ApiSandboxes
Resize a PTY process’s window
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
handle*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
PTY-mode processes only; 409 not_a_pty otherwise.
Response Body
application/json
curl -X POST "https://example.com/v1/sandboxes/string/processes/string/resize" \ -H "Content-Type: application/json" \ -d '{ "cols": 1, "rows": 1 }'{ "ok": true, "cols": 0, "rows": 0}Empty