Passer au contenu principal
PATCH
Update Postgres superuser password
Sets a new password for a Postgres service’s superuser account.

Permission

The API key must have the control-plane:postgres-service:manage permission.

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

organizationId
string<uuid>
requis

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
requis

ID of the requested Postgres service.

Corps

application/json
password
string

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 - 1024
Pattern: [0-9]

Réponse

Successful response

status
number

HTTP status code.

Exemple:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object