Change virtual server (VPS) resources

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.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
cores integer required
memory integer required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/cloud/{accountId}/resize
For AI assistants
cURL
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
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string",
    "jobQueued": true,
    "jobId": "string",
    "vmid": 0,
    "cores": 0,
    "memory": 0,
    "oldCores": 0,
    "oldMemory": 0
  }
}
Request Body
{
  "cores": 0,
  "memory": 0
}