Configuration

Change the database's bundle plan

Changed on

Moves a running database to another bundle plan. The bundle plan sets backups, metrics retention, editable settings and public network access. Moving to one that doesn't allow a feature you use fails. You can't move to a cheaper bundle plan soon after moving to a more expensive one. Team permission: manage.

post/v1/databases/{databaseID}/resize-bundle-plan

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/databases/{databaseID}/resize-bundle-plan
  • Auth
    HTTP 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

bundlePlanID'basic' | 'standard' | 'pro' required

The bundle plan, which sets backups, metrics retention, editable settings and public network access.

Response

The bundle plan was changed. The response body is empty.

Changes