Servers
Renew a server
Extends the server, paid from the balance at the plan’s monthly price.
POST
/servers/{id}/renewAuthorization
AuthorizationheaderrequiredBearer rv_…, a key with the renew scope. About keys
Path parameters
idstring (uuid)requiredThe server id from List servers.
Body
application/json
durationintegeroptional, default 1Months, 1 to 12.
Response
successbooleannew_expirystring (datetime)Paid until.
coststring (decimal)Charged from the balance, USD.
Status codes
200Success.
401No key, a wrong key, or a revoked or expired one.
402The balance doesn’t cover it. detail has message, required and balance.
429More than 120 requests a minute with one key, or too many wrong keys from one address.