Reset a virtual server (VM) to a specific template state. This is useful for a clean installation or reverting to a previous configuration. The endpoint returns a requestId to track the reset status.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example templateId string required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/rebuild curl -X POST "https://cloud.hostup.se/api/vm/17830/rebuild" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"templateId": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string"
}
} {
"templateId": "string"
}