Change the database's plan
Moves a running database to another plan that supports its type and has at least as much storage. With disk: true, the disk also grows to the new plan’s size; except for mongodb, turn the database off first (see POST /v1/databases/{databaseID}/actions/scale). Your balance must be high enough for the new plan. Team permission: manage.
Authorizations
Send your API token as Authorization: Bearer <api-token>.
Path Parameters
The database's _id.
24-character hexadecimal ID.
^[0-9a-fA-F]{24}$Query Parameters
Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.
^[0-9a-fA-F]{24}$Body
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.
small-g2, medium-g2, standard-base-g2, standard-pro-g2, pro-g2, pro-plus-g2, pro-max-g2 Also grow the disk to the new plan's size.
Response
The resize started. The response body is empty.
