Start an exec instance Run in API Explorer
Starts a previously set up exec instance. If detach is true, this endpoint returns immediately after starting the command. Otherwise, it sets up an interactive session with the command.
POST
/exec/{id}/start
curl \
--request POST 'http://api.example.com/v1.44/exec/{id}/start' \
--header "Content-Type: application/json" \
--data '{"Tty":true,"Detach":false,"ConsoleSize":[80,64]}'
Request examples
{
"Tty": true,
"Detach": false,
"ConsoleSize": [
80,
64
]
}
Response examples (404)
{
"message": "Something went wrong."
}
Response examples (409)
{
"message": "Something went wrong."
}