Run a script on a VM.
Request URL
GET https://use.cloudshare.com/API/v2/Env/executePath?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, including the script name and any command line arguments. Example: /usr/etc/myscript arg1 arg2 arg3 |
Response example
{
"data": {
"executed_path": "/usr/etc/myscript arg1 arg2 arg3"
},
"remaining_api_calls": 99994,
"status_additional_data": null,
"status_code": "0x20000",
"status_text": "Success"
}