Resize a PTY-backed process terminal
POST
/browsers/{id}/process/{process_id}/resizeAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Browser session ID
process_id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Resize a PTY-backed process terminal.
Response
application/json
OK
Generic OK response.
curl -X POST "https://example.com/browsers/string/process/497f6eca-6276-4993-bfeb-53cbbbba6f08/resize" \ -H "Content-Type: application/json" \ -d '{ "rows": 1, "cols": 1 }'{ "ok": true}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}