Skip to content

Reboot Virtual Machine Instance ​

Execute a hard reset operation on a virtual machine instance, equivalent to a physical power cycle. This operation requires the instance's unique identifier to initiate the reboot sequence.

HTTP Request ​

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

Path Parameters ​

ParameterRequirementTypeDescription
idRequiredstringTarget instance's unique identifier

Response Structure ​

status boolean ​

Operation result indicator. Returns true for successful execution, false when encountering an error.

message string ​

Descriptive response indicating the outcome of the reboot operation request.

Implementation Example ​

Request ​

bash
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 ​

json
{
    "status": true,
    "message": "System reboot sequence initiated successfully"
}