Set up or modify how often your virtual server (VPS) takes automatic snapshots. You can enable or disable the schedule and determine the interval between snapshots.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example enabled boolean required interval_hours integer required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/vm/{vmid}/snapshot-schedules curl -X POST "https://cloud.hostup.se/api/vm/14195/snapshot-schedules" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"interval_hours": 0
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"schedule": {
"id": "string",
"client_id": "string",
"account_id": "string",
"vm_id": "string",
"enabled": true,
"interval_hours": 0,
"retention_days": 0,
"last_run": "string",
"next_run": "string",
"created_at": "string",
"updated_at": "string"
},
"message": "string"
}
} {
"enabled": true,
"interval_hours": 0
}