---
title: "Power on or power off a database"
method: POST
path: "/v1/databases/{id}/actions/scale"
tags: ["Databases"]
---

# Power on or power off a database

`POST /v1/databases/{id}/actions/scale`

power on or power off a database that user owns

## Path parameters

- `id` string, required

## Request body

- object
  - `scale` number, required

## Response `200`

Successful operation

## Other responses

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

## Changes

> 19 revisions in range; 1 not diffed.

- **2023-10-06** `5f87209bfb82` — 1 breaking, 1 info
  - removed the media type `Databaselication/json` from the request body
  - added the media type `application/json` to the request body

[Change history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/:id/actions/scale/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-service-production.skmtc.workers.dev/v1/apis/liara-cloud/dbaas/revisions/6423b3e16f16/schema)
