Pular para o conteúdo principal
PATCH
Update replica aware routing
Updates replica aware routing (sticky routing) for the service. Provide at least one of httpEnabled, nativeEnabled; omit a field to leave it unchanged.

Permission

The API key must have the control-plane:service:manage permission.

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

organizationId
string<uuid>
obrigatório

ID of the organization that owns the service.

serviceId
string<uuid>
obrigatório

ID of the service.

Corpo

application/json
httpEnabled
boolean

Whether replica aware routing is enabled for HTTP connections. Omit to leave unchanged.

nativeEnabled
boolean

Whether replica aware routing is enabled for native protocol connections. Omit to leave unchanged.

Resposta

Successful response

status
number

HTTP status code.

Exemplo:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object