Skip to main content
POST
Change the database's plan

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

databaseID
string
required

The database's _id. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
planID
enum<string>
required

The database's resource plan. small-g2 and medium-g2 don't support mssql or clickhouse, and small-g2 doesn't support elasticsearch. See Liara's pricing page for what each plan includes.

Available options:
small-g2,
medium-g2,
standard-base-g2,
standard-pro-g2,
pro-g2,
pro-plus-g2,
pro-max-g2
disk
boolean
default:false
required

Also grow the disk to the new plan's size.

Response

The resize started. The response body is empty.