Reboot a VPS or virtual server

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.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
action string · enum required
restart
shutdown
start
stop
force boolean

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
504
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/vm/{vmid}/status
For AI assistants
cURL
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
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "action": "string",
    "jobId": "string",
    "message": "string",
    "estimated_time": 0
  }
}
Request Body
{
  "action": "restart",
  "force": true
}