Update Postgres service state
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Initiate a process for a Postgres service:
- restart: Initiates a service restart
- promote: Promotes a read replica to primary
- switchover: Switch a primary over to a standby
PATCH
Update Postgres service state
Beta
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Initiate a process for a Postgres service:
Initiate a process for a Postgres service:
- restart: Initiates a service restart
- promote: Promotes a read replica to primary
- switchover: Switch a primary over to a standby
Authorizations
Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Path Parameters
ID of the organization that owns the Postgres service.
ID of the requested Postgres service.
Body
application/json
Postgres status, which initiates a process.
Available options:
restart, promote, switchover Last modified on July 9, 2026
Update Postgres service state