Restore a VPS to a previous backup state

Initiate a restore of a Virtual Private Server (VPS) to a specific backed-up state. You need to provide the ID of the backup you want to restore from, which can be found in your VPS management panel. The endpoint returns a jobId that you use to track the restore process via other API calls.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
volid string required

Responses

200
success boolean
timestamp string
requestId string
data object
PUT https://cloud.hostup.se/api/vm/{vmid}/backups
For AI assistants
cURL
curl -X PUT "https://cloud.hostup.se/api/vm/10017/backups" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "volid": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "jobId": "string",
    "message": "string",
    "vmid": "string"
  }
}
Request Body
{
  "volid": "string"
}