Managed Databases
Create managed database
post
/managed-databases/Deploy a new fully managed database (MySQL 8.4, PostgreSQL 17 or Valkey 8.1) with its own dedicated server, encrypted connections, daily automatic backups and a public connection endpoint. CubePath manages all the underlying infrastructure for you.
Autorización
Authorization
Authorization*string
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Cuerpo de la petición
application/jsonObligatorio
project_id*integer
name*string
Rango
2 ≤ length ≤ 60Rangopattern ^[a-z0-9][a-z0-9-]*[a-z0-9]$engine*string
Valores
"mysql""valkey""postgresql"version*string
Rango
1 ≤ length ≤ 20plan_uuid*string
Rango
1 ≤ length ≤ 36replicas?integer
Rango
1 ≤ valuePor defecto1topology?string | null
Rango
length ≤ 50backup?BackupConfig | null
Backup policy of the database. Backups are always on: you choose the hour (UTC) of the daily full backup and how many days they are kept (1 to 30, default 7).
Propiedades (2)
hour_utc?integer | null
Hour of the day (UTC, 0 to 23) the daily full backup starts. If omitted, an hour is chosen for you.
Rango
0 ≤ value ≤ 23retention_days?integer
Days the backups are kept (1 to 30).
Rango
1 ≤ value ≤ 30Por defecto7Respuestas
Successful Response
application/json
detail*string
uuid*string
name*string
engine*string
version*string
status*string