---
title: "Change control-panel status"
method: POST
path: "/v1/databases/{id}/control-panel/{status}"
tags: ["Databases"]
---

# Change control-panel status

`POST /v1/databases/{id}/control-panel/{status}`

change control-panel status that user owns

## Path parameters

- `id` string, required
- `status` 'enable' | 'disable', required

## Response `200`

Successful operation

- object
  - `controlPanelID` string

## Other responses

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

## Changes

> 19 revisions in range; 1 not diffed.

- **2023-10-06** `5f87209bfb82` — 1 info
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/:id/control-panel/:status/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)
