Get the rebuild status of a virtual server

Check the status of an ongoing or recently completed rebuild of your virtual server (VM). It returns a unique ID that can be used to track the result in other API calls. Check if the server is running, its uptime, and any messages related to the rebuild.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
403
error string
message string
code string
timestamp string
requestId string
404
error string
message string
code string
timestamp string
requestId string
429
error string
message string
retryAfter string
requestId string
GET https://cloud.hostup.se/api/vm/{vmid}/rebuild-status
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/17127/rebuild-status" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "status": "string",
    "status_lang": "string",
    "locked": true,
    "built": true,
    "power": true,
    "uptime": 0,
    "isRebuilding": true,
    "rebuildProgress": 0,
    "rebuildMessage": "string",
    "credentials": {
      "username": "string",
      "password": "string",
      "sshkeys": [
        "string"
      ]
    }
  }
}