Upgrade resources for a Virtual Private Server (VPS)

Request a resource upgrade for your VPS. Upon submission, you'll receive an ID to track your order and billing in your account. Check available resources and select your desired upgrade to enhance performance.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
send boolean required
resources object
package string
cycle string · enum
a
m

Responses

200
success boolean
timestamp string
requestId string
data object
500
error string
message array
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/vm/{vmid}/upgrade
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/vm/17535/upgrade" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "send": true,
    "resources": {
      "4819": 0
    },
    "package": "string",
    "cycle": "a"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "upgraded": true,
    "message": "string",
    "invoiceId": "string",
    "orderId": 0,
    "orderNum": 0,
    "total": 0,
    "redirectUrl": "string",
    "raw": {
      "success": true,
      "checkout": {
        "invoice_id": "string",
        "total": 0,
        "gateway": "string",
        "order_id": 0,
        "order_num": 0,
        "newtotal": "string"
      },
      "call": "string",
      "server_time": 0
    }
  }
}
Request Body
{
  "send": true,
  "resources": {
    "4819": 0
  },
  "package": "string",
  "cycle": "a"
}