跳转到主要内容
PUT
Error

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

id
string
必填

Connection ID

请求体

application/json
name
string
必填

Display name for the connection.

示例:

"Production ClickHouse"

host
string
必填

ClickHouse HTTP endpoint URL.

示例:

"https://clickhouse.example.com:8443"

username
string
必填

ClickHouse username.

示例:

"default"

password
string
write-only

ClickHouse password. If omitted or empty, the existing password is kept.

示例:

"my-new-secret-password"

hyperdxSettingPrefix
string | null

Optional prefix for HyperDX-specific ClickHouse settings. Set to null or an empty string to clear the existing value. If omitted, the existing value is kept.

示例:

"hyperdx_"

isPrometheusEndpoint
boolean

Optional. When true, host is treated as a Prometheus-compatible API endpoint. When false or omitted, host is a ClickHouse HTTP endpoint. Omit to keep the existing value unchanged.

示例:

false

响应

Successfully updated connection

data
object

The connection object.

最后修改于 2026年7月15日