Execute command in VM
Path Parameters
leaseHash*string
Hex-encoded SHA-256 (64 chars)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
command*string
Response Body
application/json
curl -X POST "https://ldn.test.network/vms/f2a3b4c5d6e7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3/exec" \ -H "Content-Type: application/json" \ -d '{ "command": "uname -a" }'{
"exit_code": 0,
"stdout": "string",
"stderr": "string"
}