Skip to content

Reboot VM Instance ​

Initiates a hard reboot for a virtual machine, simulating the process of unplugging and rebooting a physical machine. Provide the virtual machine ID in the path to execute a hard reboot for the specified virtual machine.

HTTP Request ​

GET {API_URL}virtual-machines/{id}/reboot

Path parameters ​

ParametersRequirementsTypeDescription
idRequiredstringThe unique identifier of the virtual machine for which to retrieve details.

Reponse Attributes ​

status boolean ​

Indicates the result of the request to reboot the virtual machine. true signifies success, while false indicates an error.

message string ​

A description of the status of the request to reboot the virtual machine.

Example ​

Request ​

curl -X GET '{API_URL}virtual-machines/{id}/reboot' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'refresh-token: {REFRESH_TOKEN}' \
-H 'Content-Type: application/json'

Response ​

{
    "status": true,
    "message": "Rebooting virtual machine successful"
}