Open in AI

Servers

Renew a server

Extends the server, paid from the balance at the plan’s monthly price.

POST/servers/{id}/renew

Authorization

Authorizationheaderrequired

Bearer rv_…, a key with the renew scope. About keys

Path parameters

idstring (uuid)required

The server id from List servers.

Body

application/json

durationintegeroptional, default 1

Months, 1 to 12.

Response

successboolean
new_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.