Skip to content

Create (MySQL)

POST
/databases/mysql

Create a new MySQL database.

Authorizations

bearerAuth

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

TypeHTTP (bearer)

Request Body

JSON
{
"server_uuid": "string",
"project_uuid": "string",
"environment_name": "string",
"environment_uuid": "string",
"destination_uuid": "string",
"mysql_root_password": "string",
"mysql_password": "string",
"mysql_user": "string",
"mysql_database": "string",
"mysql_conf": "string",
"name": "string",
"description": "string",
"image": "string",
"is_public": true,
"public_port": 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,
"instant_deploy": true
}

Responses

Database updated

Samples

Powered by VitePress OpenAPI