VPS_restartVirtualMachineV1
Use this tool to reboot a virtual machine by fully stopping and starting it. Specify the virtual machine ID to initiate the restart process for VPS instances.
Instructions
Restart a specified virtual machine by fully stopping and starting it.
If the virtual machine was stopped, it will be started.
Use this endpoint to reboot VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| virtualMachineId | Yes | Virtual Machine ID |
Input Schema (JSON Schema)
{
"properties": {
"virtualMachineId": {
"description": "Virtual Machine ID",
"type": "integer"
}
},
"required": [
"virtualMachineId"
],
"type": "object"
}
Implementation Reference
- types.d.ts:2250-2258 (schema)Schema definition for the VPS_restartVirtualMachineV1 API tool, specifying the input parameter 'virtualMachineId' (number) and a generic 'any' response type. This is part of the auto-generated OpenAPI type definitions."VPS_restartVirtualMachineV1": { params: { /** * Virtual Machine ID */ virtualMachineId: number; }; response: any; // Response structure will depend on the API };