الانتقال إلى المحتوى الرئيسي
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.

التفويضات

Authorization
string
header
مطلوب

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

معلمات المسار

organizationId
string<uuid>
مطلوب

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
مطلوب

ID of the requested Postgres service.

الجسم

application/json
pgConfig
Postgres Configuration · object
مطلوب

Postgres runtime configuration configuration.

مثال:
pgBouncerConfig
PgBouncer Configuration · object
مطلوب

PgBouncer runtime configuration configuration.

مثال:

الاستجابة

Successful response

status
number

HTTP status code.

مثال:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object