Service

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.

patch/v1/organizations/{organizationId}/services/{serviceId}/replicaAwareRouting

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization that owns the service.

serviceId, string uuid required

ID of the service.

Request body

ReplicaAwareRoutingPatchRequest required
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.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, ReplicaAwareRouting

Example response

{
  "status": 200
}

Changes

No recorded changes to this operation across all 35 revisions of this API.