POST
/
containers
/
{CONTAINER_ID}
/
exec
curl --request POST \
  --url http:///%7B{api_host}%7D/containers/{CONTAINER_ID}/exec \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "command": "apt install nodejs -y",
  "log_id": "5861d47e-8183-4a1f-837d-2cd2f99e3759"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

CONTAINER_ID
string
required

Body

application/json · object

The body is of type object.

Response

200 - application/json
Successful response

The response is of type any.