Update Postgres superuser password
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Sets a new password for a Postgres service’s superuser account.
PATCH
Update Postgres superuser password
Beta
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Sets a new password for a Postgres service’s superuser account.
Sets a new password for a Postgres service’s superuser account.
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
Optional password. If not provided a new password is generated and provided in the response. Must contain:
- At least one lowercase letter
- At least one uppercase letter
- At least one digit
Required string length:
12 - 1024Pattern:
[0-9]Last modified on July 9, 2026
Previous
Update Postgres service state**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> 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
Next
Update Postgres superuser password