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.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example send boolean required resources object package string cycle string · enum a m success boolean timestamp string requestId string data object error string message array code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/upgrade 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"
}' {
"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
}
}
} {
"send": true,
"resources": {
"4819": 0
},
"package": "string",
"cycle": "a"
}