Retrieve detailed information about a specific VPS service, including its status, resources, IP address, or billing information. The endpoint returns an ID that may be needed for other API calls related to the service.
id integer · min: 1 required Example Unique id identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string retryAfter string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vps-accounts/{id} curl -X GET "https://cloud.hostup.se/api/vps-accounts/10415" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"vps_account": {
"id": "string",
"name": "string",
"ip": "string",
"status": "string",
"vmStatus": "string",
"bandwidth": {
"used": 0,
"limit": 0,
"inbound": 0,
"outbound": 0
},
"proxmoxVmId": "string",
"os": "string",
"resources": {
"cpu": 0,
"ram": 0,
"storage": 0
},
"price": 0,
"billingCycle": "string",
"currency": "string",
"created": "string",
"pricing": {
"currency": "string",
"billingCycle": {
"id": "string",
"months": 0,
"raw": "string",
"isFree": true
},
"pricePerCycle": 0,
"baseMonthlyCost": 0,
"baseAnnualCost": 0,
"addonsMonthlyCost": 0,
"addonsAnnualCost": 0,
"totalMonthlyCost": 0,
"totalAnnualCost": 0,
"addons": [
"string"
]
},
"tags": [
"string"
]
}
}
}