Change billing cycle for VPS

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.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
cycle string · enum required
a
m

Responses

200
success boolean
timestamp string
requestId string
data object
500
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/vm/{vmid}/billing-cycle
For AI assistants
cURL
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"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "message": "string",
    "newCycle": "string",
    "total": "string",
    "info": [
      "string"
    ]
  }
}
Request Body
{
  "cycle": "a"
}