cURL
curl --request POST \ --url https://api.onkernel.com/browsers/{id}/process/{process_id}/resize \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "rows": 32768, "cols": 32768 } '
{ "ok": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
Resize a PTY-backed process terminal.
New terminal rows.
1 <= x <= 65535
New terminal columns.
OK
Generic OK response.
Indicates success.