Run a script or command line command on a VM and return an execution Id for the process. The Id can be used to check the execution status of the script, using CheckExecutionStatus.
Request URL
GET https://use.cloudshare.com/API/v2/Env/executePathExt?envId=<env>&vmId=<vm>&path=<path>&UserApiId=<id>&token=<token>×tamp=<time>&HMAC=<signature>
Parameters
| envId | The unique id for the environment. Example: I5ADJ4VCMBTB |
vmId | The unique id for the VM. Example: 40WXHYZW3UKB |
| path | The full path on the VM to the script or command, including any command line arguments. Examples: /usr/etc/myscript arg1 arg2 arg3 dir |
Response example
{
"data": {
"executionId": "PDEOUEGMEZMA"
},
"remaining_api_calls": 99994,
"status_additional_data": null,
"status_code": "0x20000",
"status_text": "Success"
}