Skip to content

Create (MariaDB)

POST
/databases/mariadb

Create a new MariaDB database.

Authorizations

Request Body required

Database data

object
server_uuid
required

UUID of the server

string
project_uuid
required

UUID of the project

string
environment_name
required

Name of the environment

string
destination_uuid

UUID of the destination if the server has multiple destinations

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
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
instant_deploy

Instant deploy the database

boolean

Responses

200

Database updated

400

Invalid token.

object
message
string
Invalid token.

401

Unauthenticated.

object
message
string
Unauthenticated.