Skip to main content
PATCH
Update service password
Sets a new password for the service

承認

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 service.

serviceId
string<uuid>
必須

ID of the service to update password.

ボディ

application/json
newPasswordHash
string

Optional password hash. Used to avoid password transmission over network. If not provided a new password is generated and is provided in the response. Otherwise this hash is used. Algorithm: echo -n "yourpassword" | sha256sum | tr -d '-' | xxd -r -p | base64

newDoubleSha1Hash
string

Optional double SHA1 password hash for MySQL protocol. If newPasswordHash is not provided this key will be ignored and the generated password will be used. Algorithm: echo -n "yourpassword" | sha1sum | tr -d '-' | xxd -r -p | sha1sum | tr -d '-'

レスポンス

Successful response

status
number

HTTP status code.

:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
最終更新日 2026年7月24日