Skip to content

Update

PATCH
/databases/{uuid}

Update database by UUID.

Authorizations

Parameters

Path Parameters

uuid
required
string format: uuid

UUID of the database.

Request Body required

Database data

object
name

Name of the database

string
description

Description of the database

string
image

Docker Image of the database

string
is_public

Is the database public?

boolean
public_port

Public port of the database

integer
limits_memory

Memory limit of the database

string
limits_memory_swap

Memory swap limit of the database

string
limits_memory_swappiness

Memory swappiness of the database

integer
limits_memory_reservation

Memory reservation of the database

string
limits_cpus

CPU limit of the database

string
limits_cpuset

CPU set of the database

string
limits_cpu_shares

CPU shares of the database

integer
postgres_user

PostgreSQL user

string
postgres_password

PostgreSQL password

string
postgres_db

PostgreSQL database

string
postgres_initdb_args

PostgreSQL initdb args

string
postgres_host_auth_method

PostgreSQL host auth method

string
postgres_conf

PostgreSQL conf

string
clickhouse_admin_user

Clickhouse admin user

string
clickhouse_admin_password

Clickhouse admin password

string
dragonfly_password

DragonFly password

string
redis_password

Redis password

string
redis_conf

Redis conf

string
keydb_password

KeyDB password

string
keydb_conf

KeyDB conf

string
mariadb_conf

MariaDB conf

string
mariadb_root_password

MariaDB root password

string
mariadb_user

MariaDB user

string
mariadb_password

MariaDB password

string
mariadb_database

MariaDB database

string
mongo_conf

Mongo conf

string
mongo_initdb_root_username

Mongo initdb root username

string
mongo_initdb_root_password

Mongo initdb root password

string
mongo_initdb_init_database

Mongo initdb init database

string
mysql_root_password

MySQL root password

string
mysql_user

MySQL user

string
mysql_database

MySQL database

string
mysql_conf

MySQL conf

string

Responses

200

Database updated

400

Invalid token.

object
message
string
Invalid token.

401

Unauthenticated.

object
message
string
Unauthenticated.

404

Resource not found.

object
message
string
Resource not found.