Files

3.3 KiB
Raw Permalink Blame History

Skip to content

Return to top

Update

===============================================================================================

PATCH

/databases/{uuid}

Update database by UUID.

Authorizations


bearerAuth

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

Type

HTTP (bearer)

Parameters


Path Parameters

uuid*

UUID of the database.

Type

string

Required

Request Body


application/json

SchemaJSON

JSON

{

"name": "string",

"description": "string",

"image": "string",

"is_public": true,

"public_port": 0,

"public_port_timeout": 0,

"limits_memory": "string",

"limits_memory_swap": "string",

"limits_memory_swappiness": 0,

"limits_memory_reservation": "string",

"limits_cpus": "string",

"limits_cpuset": "string",

"limits_cpu_shares": 0,

"postgres_user": "string",

"postgres_password": "string",

"postgres_db": "string",

"postgres_initdb_args": "string",

"postgres_host_auth_method": "string",

"postgres_conf": "string",

"clickhouse_admin_user": "string",

"clickhouse_admin_password": "string",

"dragonfly_password": "string",

"redis_password": "string",

"redis_conf": "string",

"keydb_password": "string",

"keydb_conf": "string",

"mariadb_conf": "string",

"mariadb_root_password": "string",

"mariadb_user": "string",

"mariadb_password": "string",

"mariadb_database": "string",

"mongo_conf": "string",

"mongo_initdb_root_username": "string",

"mongo_initdb_root_password": "string",

"mongo_initdb_database": "string",

"mysql_root_password": "string",

"mysql_password": "string",

"mysql_user": "string",

"mysql_database": "string",

"mysql_conf": "string"

}

Responses


200400401404422

Database updated

PATCH

/databases/{uuid}

Playground


Authorization

bearerAuth

Variables

Key

Value

uuid*

Body

Try it out

Samples


Powered by VitePress OpenAPI