Skip to main content
PATCH
/
cloud
/
v1
/
dbaas
/
postgres
/
clusters
/
{project_id}
/
{region_id}
/
{cluster_name}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
task_id_list = client.cloud.databases.postgres.clusters.update(
    cluster_name="cluster_name",
    project_id=0,
    region_id=0,
)
print(task_id_list.tasks)
{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
integer
required
region_id
integer
required
cluster_name
string
required

Body

application/json
databases
Database · object[]
flavor
object | null
high_availability
object | null
network
object | null
pg_server_configuration
object | null
storage
object | null
users
PgUser · object[]

Response

tasks
string[]
required
Examples: