Get automatic renewal status for a virtual server

Check if automatic renewal is enabled for a specific virtual server (VM). It also returns information about the next due date and when the next invoice will be created. This information is useful for planning upcoming payments or understanding when a service will renew.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
429
error string
message string
retryAfter string
requestId string
GET https://cloud.hostup.se/api/vm/{vmid}/autorenew
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/10415/autorenew" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "autorenew": true,
    "autorenewRaw": "string",
    "nextDue": "string",
    "nextInvoice": "string"
  }
}