Configuration
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.
post/v1/databases/{databaseID}/resize
Request
- Base URLhttps://api.liara.ir
- URLhttps://api.liara.ir/v1/databases/{databaseID}/resize
- AuthHTTP bearer
Path parameters
databaseIDstring required
24-character hexadecimal ID.
The database's _id.
Query parameters
teamIDstring
24-character hexadecimal ID.
Run the request in the context of a team you belong to, instead of your personal account.
Request body
Response
The resize started. The response body is empty.
Changes
No operation changes recorded.