Skip to main content
PATCH
Update ClickPipe state
Start, stop or resync ClickPipe. Stopping a ClickPipe will stop the ingestion process from any state. Starting is allowed for ClickPipes in the “Stopped” state or with a “Failed” state. Resyncing is only for Postgres and MySQL pipes and can be done from any state.

授权

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 that owns the ClickPipe.

clickPipeId
string<uuid>
必填

ID of the ClickPipe to update state.

请求体

application/json
command
enum<string>

Command to change the state: 'start', 'stop', 'resync'.

可用选项:
start,
stop,
resync

响应

Successful response

status
number

HTTP status code.

示例:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
最后修改于 2026年7月24日