databases

Update Database

Update configuration of a managed database instance.

patch/databases/{database_id}

Request

  • Base URL: https://api.mengi.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mengi.cloud/databases/{database_id}
  • Auth: none declared

Path parameters

database_idstring uuid required

Request body

storage_size_gbinteger nullable
cpu_requestnumber nullable
memory_request_mbinteger nullable
max_connectionsinteger nullable
extensionsstring[] nullable
backup_enabledboolean nullable
backup_schedulestring nullable
backup_retention_daysinteger nullable
external_accessboolean nullable

Response

Successful Response

idstring uuid required
user_idstring uuid required
organization_idstring uuid nullable
cluster_idstring uuid required
namestring required
engine'postgresql' | 'mysql' required
engine_versionstring required
tier'single' | 'ha' | 'replicated' required
status'pending' | 'provisioning' | 'running' | 'degraded' | 'upgrading' | 'error' | 'deleting' | 'restoring' required
cpu_requestnumber nullable
memory_request_mbinteger nullable
storage_size_gbinteger required
replicasinteger required
database_namestring required
max_connectionsinteger nullable
extensionsstring[] nullable
external_accessboolean
external_hoststring nullable
connection_hoststring nullable
connection_portinteger nullable
connection_secret_namestring nullable
backup_enabledboolean required
backup_schedulestring nullable
backup_retention_daysinteger nullable
git_pathstring nullable
argocd_app_namestring nullable
replication_group_idstring uuid nullable
replication_rolestring nullable
replication_source_idstring uuid nullable
replication_hoststring nullable
replication_lag_bytesinteger nullable
replication_statusstring nullable
error_messagestring nullable
fee_exempt_untilstring date-time nullable
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.