Passer au contenu principal
POST
Replace Postgres service configuration
Replace the existing Postgres service and pgBouncer configuration.

Permission

The API key must have the control-plane:postgres-service:manage permission.

Autorisations

Authorization
string
header
requis

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Paramètres de chemin

organizationId
string<uuid>
requis

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
requis

ID of the requested Postgres service.

Corps

application/json
pgConfig
Postgres Configuration · object
requis

Postgres runtime configuration configuration.

Exemple:
pgBouncerConfig
PgBouncer Configuration · object
requis

PgBouncer runtime configuration configuration.

Exemple:

Réponse

Successful response

status
number

HTTP status code.

Exemple:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object