Postgres

Replace Postgres service configuration

This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> Replace the existing Postgres service and pgBouncer configuration.

post/v1/organizations/{organizationId}/postgres/{postgresId}/config

Request

  • Base URL: https://api.clickhouse.cloud
  • URL: https://api.clickhouse.cloud/v1/organizations/{organizationId}/postgres/{postgresId}/config
  • Auth: HTTP basic

Path parameters

organizationIdstring uuid required

ID of the organization that owns the Postgres service.

postgresIdstring uuid required

ID of the requested Postgres service.

Request body

pgBouncerConfigPgBouncerConfig required

PgBouncer runtime configuration configuration.

Example request

{
  "pgConfig": {
    "max_connections": 100
  },
  "pgBouncerConfig": {
    "default_pool_size": "16"
  }
}

Response

Successful response

statusnumber

HTTP status code.

requestIdstring uuid

Unique id assigned to every request. UUIDv4

Example response

{
  "status": 200,
  "result": {
    "pgConfig": {
      "max_connections": 100
    },
    "pgBouncerConfig": {
      "default_pool_size": "16"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.