Reboot a specific VPS or virtual server. You submit the action to perform (e.g., 'restart') and receive a jobId to track the reboot operation's status.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example action string · enum required restart shutdown start stop force boolean success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/status curl -X POST "https://cloud.hostup.se/api/vm/17122/status" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "restart",
"force": true
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"action": "string",
"jobId": "string",
"message": "string",
"estimated_time": 0
}
} {
"action": "restart",
"force": true
}