Skip to main content
PUT
Execute Instance Command

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the instance to execute command on

Body

application/json
command
string

Command to execute on the instance

Example:

"ls -l"

Response

Returns {success: true, writeable_path, result_url, msg: "Command is executing, wait a few seconds and then view the result_url"}.

success
boolean

True when command was queued

writeable_path
string

Filesystem path writable by the container

result_url
string

URL to poll for command output

msg
string

Human-readable status message