跳转到主要内容
POST
为指定实例插入或更新服务查询端点

授权

Authorization
string
header
必填

使用在 ClickHouse Cloud 控制台中获取的 key ID 和 key secret:https://clickhouse.com/docs/cloud/manage/openapi

路径参数

organizationId
string<uuid>
必填

所请求组织的 ID。

serviceId
string<uuid>
必填

所请求服务的 ID。

请求体

application/json
allowedOrigins
string

允许的来源,以逗号分隔的域名列表表示

openApiKeys
string[]

服务查询端点的版本

roles
enum<string>[]

角色

可用选项:
sql_console_read_only,
sql_console_admin

响应

成功响应

requestId
string<uuid>

为每个请求分配的唯一 ID。UUIDv4

result
object
status
number

HTTP 状态码。

示例:

200

最后修改于 2026年6月19日