Skip to main content
POST
Change plan

Authorizations

Authorization
string
header
required

Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.

Path Parameters

id
string<uuid>
required

Service id of the cloud server.

Body

application/json
plan
string
required

Target plan slug from GET /v1/cloud/{id}/plan.

diskStrategy
enum<string>

Required when the target plan has a smaller disk. Defaults to keep otherwise.

Available options:
keep,
reinstall

Response

Applied now, or invoiced.

success
boolean
required
data
object
required