Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Update Postgres superuser password

Beta
PATCH/v1/organizations/{organizationId}/postgres/{postgresId}/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.

Authorizations

Path parameters

  • organizationIdstringrequired

    ID of the organization that owns the Postgres service.

    format: uuid
  • postgresIdstringrequired

    ID of the requested Postgres service.

    format: uuid

Request bodyJSON

  • passwordoptionalstring

    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
    maxLength: 1024, minLength: 12, pattern: [0-9]

Response

JSON

200

Successful response

JSON
  • statusoptionalnumber

    HTTP status code.

    Example: 200
  • requestIdoptionalstring

    Unique id assigned to every request. UUIDv4

    format: uuid
  • resultoptionalobject
    1 properties
    • passwordoptionalstring

      New Postgres superuser password. Provided only if there was no 'password' in the request.

Navigation