PATCH
/v1/organizations/{organizationId}/postgres/{postgresId}/configThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Update the existing Postgres service and pgBouncer configuration.
Permission
The API key must have the control-plane:postgres-service:manage permission.
Authorizations
- AuthorizationstringheaderrequiredUse key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Path parameters
Request bodyJSON
- pgConfigobject{ … }required
Postgres runtime configuration configuration.
Example: {"max_connections":100}31 properties
- pgBouncerConfigmap ofstringrequired
PgBouncer runtime configuration configuration.
Example: {"default_pool_size":"16"}
Response
JSON
200
Successful response
JSON
- resultoptionalobject{ … }
3 properties
- pgConfigobject{ … }required
Postgres runtime configuration configuration.
Example: {"max_connections":100}31 properties
- pgBouncerConfigmap ofstringrequired
PgBouncer runtime configuration configuration.
Example: {"default_pool_size":"16"}
400
The request cannot be processed due to a client error. Please verify your request parameters and try again.
500
An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.