الانتقال إلى المحتوى الرئيسي
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.

التفويضات

Authorization
string
header
مطلوب

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

معلمات المسار

organizationId
string<uuid>
مطلوب

ID of the organization that owns the Postgres service.

postgresId
string<uuid>
مطلوب

ID of the requested Postgres service.

الجسم

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]

الاستجابة

Successful response

status
number

HTTP status code.

مثال:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object