---
title: "Resize a database"
method: POST
path: "/v1/databases/{id}/resize"
tags: ["Databases"]
---

# Resize a database

`POST /v1/databases/{id}/resize`

resize a database that user owns

## Path parameters

- `id` string, required

## Request body

- object
  - `disk` boolean
  - `planID` string, required

## Response `200`

Successful operation

## Other responses

- `400` — Bad request
- `401` — Missing authentication
- `404` — Database not found

---

[API](https://skmtc.net/liara-cloud/apis/dbaas.md) · [All operations](https://skmtc.net/liara-cloud/apis/dbaas/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liara-cloud/dbaas/versions/6423b3e16f16/schema)
