Exec

Resize an exec instance

Changed on

Resize the TTY session used by an exec instance. This endpoint only works if tty was specified as part of creating and starting the exec instance.

post/exec/{id}/resize

Request

  • Base URL
    /v1.49 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1.49/exec/{id}/resize
  • Auth
    none declared

Path parameters

idstring required

Exec instance ID

Query parameters

hinteger required

Height of the TTY session in characters

winteger required

Width of the TTY session in characters

Response

No error

Changes

    • breaking

      the query request parameter h became required

    • breaking

      the query request parameter w became required

    • info

      the query request parameter h became optional

    • info

      the query request parameter w became optional