This endpoint provides an overview of your current resource limits for various services like CPU, RAM, and disk space. It's useful for understanding how much of your allocated resources are consumed and how much remains. The endpoint also returns a unique requestId that may be needed for certain follow-up actions, such as initiating payments.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/cloud/limits curl -X GET "https://cloud.hostup.se/api/cloud/limits" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"limits": {
"cpu": {
"limit": 0,
"used": 0,
"available": 0
},
"ram": {
"limit": 0,
"used": 0,
"available": 0
},
"disk": {
"limit": 0,
"used": 0,
"available": 0
},
"floatingIp": {
"limit": 0,
"used": 0,
"available": 0
},
"vm": {
"limit": 0,
"used": 0,
"available": 0
},
"snapshot": {
"limit": 0,
"used": 0,
"available": 0
},
"privateNetwork": {
"limit": 0,
"used": 0,
"available": 0,
"pendingRequest": "string"
}
},
"hasPendingRequests": true,
"pendingRequests": [
"string"
]
}
}