---
title: "Update"
method: PATCH
path: "/databases/{uuid}"
tags: ["Databases"]
---

# Update

`PATCH /databases/{uuid}`

Update database by UUID.

## Path parameters

- `uuid` string, required

## Request body

- object
  - `name` string — Name of the database
  - `description` string — Description of the database
  - `image` string — Docker Image of the database
  - `is_public` boolean — Is the database public?
  - `public_port` integer — Public port of the database
  - `public_port_timeout` integer — Public port timeout in seconds (default: 3600)
  - `limits_memory` string — Memory limit of the database
  - `limits_memory_swap` string — Memory swap limit of the database
  - `limits_memory_swappiness` integer — Memory swappiness of the database
  - `limits_memory_reservation` string — Memory reservation of the database
  - `limits_cpus` string — CPU limit of the database
  - `limits_cpuset` string — CPU set of the database
  - `limits_cpu_shares` integer — CPU shares of the database
  - `postgres_user` string — PostgreSQL user
  - `postgres_password` string — PostgreSQL password
  - `postgres_db` string — PostgreSQL database
  - `postgres_initdb_args` string — PostgreSQL initdb args
  - `postgres_host_auth_method` string — PostgreSQL host auth method
  - `postgres_conf` string — PostgreSQL conf
  - `clickhouse_admin_user` string — Clickhouse admin user
  - `clickhouse_admin_password` string — Clickhouse admin password
  - `dragonfly_password` string — DragonFly password
  - `redis_password` string — Redis password
  - `redis_conf` string — Redis conf
  - `keydb_password` string — KeyDB password
  - `keydb_conf` string — KeyDB conf
  - `mariadb_conf` string — MariaDB conf
  - `mariadb_root_password` string — MariaDB root password
  - `mariadb_user` string — MariaDB user
  - `mariadb_password` string — MariaDB password
  - `mariadb_database` string — MariaDB database
  - `mongo_conf` string — Mongo conf
  - `mongo_initdb_root_username` string — Mongo initdb root username
  - `mongo_initdb_root_password` string — Mongo initdb root password
  - `mongo_initdb_database` string — Mongo initdb init database
  - `mysql_root_password` string — MySQL root password
  - `mysql_password` string — MySQL password
  - `mysql_user` string — MySQL user
  - `mysql_database` string — MySQL database
  - `mysql_conf` string — MySQL conf
  - `health_check_enabled` boolean — Enable the database healthcheck probe.
  - `health_check_interval` integer — Healthcheck interval in seconds.
  - `health_check_timeout` integer — Healthcheck timeout in seconds.
  - `health_check_retries` integer — Healthcheck retries count.
  - `health_check_start_period` integer — Healthcheck start period in seconds.

## Response `200`

Database updated

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `404` — Resource not found.
- `422` — Validation error.

## Changes

> 55 revisions in range; 1 could not be searched.

- **2026-06-01** `6f13ef63b3b4` — 4 warning, 5 info
  - the `health_check_interval` request property's min was set to `1.00`
  - the `health_check_retries` request property's min was set to `1.00`
  - the `health_check_start_period` request property's min was set to `0.00`
  - the `health_check_timeout` request property's min was set to `1.00`
  - …5 more
- **2026-05-31** `4c957e08b8f4` — 5 info
  - added the new optional request property `health_check_enabled`
  - added the new optional request property `health_check_interval`
  - added the new optional request property `health_check_retries`
  - added the new optional request property `health_check_start_period`
  - …1 more
- **2026-03-28** `ddb2c0536e76` — 1 info
  - added the new optional request property `public_port_timeout`
- **2026-03-16** `385ee693a76d` — 6 warning
  - removed the request property `health_check_enabled`
  - removed the request property `health_check_interval`
  - removed the request property `health_check_retries`
  - removed the request property `health_check_start_period`
  - …2 more

[Change history](https://skmtc.dev/coollabsio/apis/coolify/changes/databases/:uuid/patch.md)

---

[API](https://skmtc.dev/coollabsio/apis/coolify.md) · [All operations](https://skmtc.dev/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coollabsio/coolify/revisions/789e6ad3796c/schema)
