Change the billing cycle for your Virtual Private Server (VPS). This can affect how often you receive invoices and how payments are handled. The endpoint returns a unique requestId necessary for tracking the change in other systems.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example cycle string · enum required a m success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/billing-cycle curl -X POST "https://cloud.hostup.se/api/vm/9557/billing-cycle" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cycle": "a"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string",
"newCycle": "string",
"total": "string",
"info": [
"string"
]
}
} {
"cycle": "a"
}