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.
vmid integer · min: 1 required Example Unique vmid 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 retryAfter string requestId string https://cloud.hostup.se/api/vm/{vmid}/autorenew curl -X GET "https://cloud.hostup.se/api/vm/10415/autorenew" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"autorenew": true,
"autorenewRaw": "string",
"nextDue": "string",
"nextInvoice": "string"
}
}