Container

Resize a container TTY

Changed on

Resize the TTY for a container.

post/containers/{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/containers/{id}/resize
  • Auth
    none declared

Path parameters

idstring required

ID or name of the container

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