Managed Databases

Create managed database

post/managed-databases/

Deploy a new fully managed database (MySQL, Valkey or PostgreSQL) with high availability, automatic failover and a public connection endpoint. CubePath manages all the underlying infrastructure for you.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Request body

application/jsonRequired
project_id*integer
name*string
Range2 ≤ length ≤ 60Rangepattern ^[a-z0-9][a-z0-9-]*[a-z0-9]$
engine*string
Value in"mysql""valkey""postgresql"
version*string
Range1 ≤ length ≤ 20
plan_uuid*string
Range1 ≤ length ≤ 36
replicas?integer
Range1 ≤ valueDefault3
topology?string | null
Rangelength ≤ 50
backup?BackupConfig | null

Backup policy of the database: a 5-field cron schedule (minute hour day month weekday) and the retention in days.

Properties (2)
schedule_cron*string
Range9 ≤ length ≤ 100
retention_days?integer
Range1 ≤ value ≤ 365Default7

Responses

Successful Response

application/json

detail*string
uuid*string
name*string
engine*string
version*string
status*string