Scale up or down the resources (CPU and RAM) for an existing virtual server (VPS). Use this when your application needs more or less computing power or memory.
accountId integer · min: 1 required Example Unique account identifier
Accept Example Content-Type Example cores integer required memory integer required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/cloud/{accountId}/resize curl -X POST "https://cloud.hostup.se/api/cloud/17679/resize" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cores": 0,
"memory": 0
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"jobQueued": true,
"jobId": "string",
"vmid": 0,
"cores": 0,
"memory": 0,
"oldCores": 0,
"oldMemory": 0
}
} {
"cores": 0,
"memory": 0
}