Changes the billing period for your hosting account. Switching to a longer period creates an invoice for the difference. Switching to a shorter period takes effect at the next renewal.
accountId integer · min: 1 required Example Unique account identifier
Accept Example Content-Type Example cycleId string required Period ID ('m' for monthly, 'a' for annually)
success boolean timestamp string requestId string data object https://cloud.hostup.se/api/hosting/{accountId}/billing-cycle curl -X POST "https://cloud.hostup.se/api/hosting/17457/billing-cycle" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cycleId": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string",
"newCycle": "string",
"total": "string",
"info": [
"string"
]
}
} {
"cycleId": "string"
}