cURL
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>"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type any.
any