Skip to main content
POST
Execute command (synchronous)

Authorizations

X-API-Key
string
header
required

API key for authentication (format: vr_...)

Path Parameters

id
string
required

Body

application/json
command
string
required
Example:

"ls -la /root"

args
string[]
Example:
timeout
integer
default:30

Timeout in seconds

Example:

30

env
object
Example:
cwd
string
Example:

"/root"

Response

Command executed

status
string
Example:

"success"

message
string
Example:

"ok"

data
object