---
title: "Change the database's bundle plan"
method: POST
path: "/v1/databases/{databaseID}/resize-bundle-plan"
tags: ["Configuration"]
---

# Change the database's bundle plan

`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

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`.

## Path parameters

- `databaseID` string, required: 24-character hexadecimal ID.

## Query parameters

- `teamID` string: 24-character hexadecimal ID.

## Request body

- object
  - `bundlePlanID` 'basic' | 'standard' | 'pro', required: The bundle plan, which sets backups, metrics retention, editable settings and public network access.

## Response `200`

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

## Other responses

- `400`: The body or `teamID` is invalid, or the bundle plan isn't available for the database's plan.
- `401`: The API token is missing, invalid or expired.
- `403`: With `teamID`: you aren't a member of the team (`team_not_found`), or you don't have the required permission on this database (`no_permission`).
- `404`: No running database with this ID.
- `428`: You upgraded recently (`downgrade_limit`), or the new bundle plan doesn't allow custom settings (`parameter_limit`) or public network access (`public_network_limit`) that you use.

## Changes

> 21 revisions in range; 1 not diffed.

- **2026-11-02** `f6f78c6f05c6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/:databaseID/resize-bundle-plan/post.md)

---

[API](https://skmtc.dev/liara-cloud/apis/dbaas.md) - [All operations](https://skmtc.dev/liara-cloud/apis/dbaas/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/dbaas/revisions/f6f78c6f05c6?raw)
