v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Managed PostgreSQL

Update PostgreSQL cluster

Update the configuration of an existing PostgreSQL cluster.

patch/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name}

Path parameters

project_idinteger required

Project ID

Project ID

region_idinteger required

Region ID

Region ID

cluster_namestring required

Cluster name

Cluster name

Request body

Example request

{
  "databases": [
    {
      "name": "mydatabase",
      "owner": "myuser"
    }
  ],
  "flavor": {
    "cpu": 1,
    "memory_gib": 1
  },
  "network": {
    "acl": [
      "92.33.34.127"
    ],
    "network_type": "public"
  },
  "pg_server_configuration": {
    "pg_conf": "\nlisten_addresses = 'localhost'\nport = 5432\nmax_connections = 100\nshared_buffers = 128MB\nlogging_collector = on",
    "pooler": {
      "type": "pgbouncer"
    },
    "version": "15"
  },
  "storage": {
    "size_gib": 100
  },
  "users": [
    {
      "name": "myuser",
      "role_attributes": [
        "INHERIT"
      ]
    }
  ]
}

Response

OK

tasksstring[] required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
idstring required

Example response

{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}