Skip to main content
POST
Scale database

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Path Parameters

database_id
string
required

Database ID (UUID) or short id (the database_id field, e.g. a1b2c3d4)

Body

application/json
plan_id
integer

New plan ID (same engine). Omit or 0 to keep the current plan.

storage_gb
integer

New storage size in GB. Grows only — never below the plan's included allotment. Omit or 0 to keep the current size.

set_ha
boolean
default:false

Set to true to apply the has_ha value. When false or omitted, high availability is unchanged.

has_ha
boolean

Desired high availability state. Only applied when set_ha is true.

replica_count
integer

Desired read replica count. Always applied — pass your current count when not changing it. PostgreSQL only.

Response

Updated database

success
boolean
database
object

A managed database instance. The private endpoint {database_id}.db.raffusercloud.com lives inside the attached VPC; public access is optional. TLS is always required.

Last modified on October 5, 2026