v1

latestOpenAPI 3.1.02026-07-1213613295.5 KB
Databases

Create (PostgreSQL)

Create a new PostgreSQL database.

post/databases/postgresql

Request body

server_uuidstring required

UUID of the server

project_uuidstring required

UUID of the project

environment_namestring required

Name of the environment. You need to provide at least one of environment_name or environment_uuid.

environment_uuidstring required

UUID of the environment. You need to provide at least one of environment_name or environment_uuid.

postgres_userstring

PostgreSQL user

postgres_passwordstring

PostgreSQL password

postgres_dbstring

PostgreSQL database

postgres_initdb_argsstring

PostgreSQL initdb args

postgres_host_auth_methodstring

PostgreSQL host auth method

postgres_confstring

PostgreSQL conf

destination_uuidstring

UUID of the destination if the server has multiple destinations

namestring

Name of the database

descriptionstring

Description of the database

imagestring

Docker Image of the database

is_publicboolean

Is the database public?

public_portinteger

Public port of the database

public_port_timeoutinteger

Public port timeout in seconds (default: 3600)

limits_memorystring

Memory limit of the database

limits_memory_swapstring

Memory swap limit of the database

limits_memory_swappinessinteger

Memory swappiness of the database

limits_memory_reservationstring

Memory reservation of the database

limits_cpusstring

CPU limit of the database

limits_cpusetstring

CPU set of the database

limits_cpu_sharesinteger

CPU shares of the database

instant_deployboolean

Instant deploy the database

Response

Database updated