Change the annual or monthly billing cycle for your hosting accounts. This is useful if you want to adjust how often you pay for your hosting service.
path.accountId accountId integer · min: 1 required
Example: 20000 Unique account identifier
Accept Example Content-Type Example cycle string · enum required
· Example: a a m data object required data.info array<string> required
· Example: ["Account #100011 changes saved"] data.message string required
· Example: Billing cycle changed successfully Human-readable message.
data.newCycle string · enum required
· Example: Annually Annually Monthly data.success boolean required
· Example: true True for successful responses.
data.total string · enum required
· Example: 708.00 708.00 79.00 requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/hosting/{accountId}/billing-cycle curl -X POST "https://cloud.hostup.se/api/hosting/20000/billing-cycle" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cycle": "a"
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"success": true,
"message": "Billing cycle changed successfully",
"newCycle": "Annually",
"total": "708.00",
"info": [
"Account #100011 changes saved"
]
}
} {
"cycle": "a"
}