All Products
Search
Document Center

ApsaraDB for ClickHouse:KillProcess

Last Updated:Mar 01, 2024

Terminates an ongoing task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
DBClusterIdstringYes

The cluster ID.

cc-bp108z124a8o7****
InitialQueryIdstringNo

The query statement or query statements that you want to stop executing. If you want to stop executing multiple query statements, separate the statements with commas (,).

Note If you do not set this parameter, all query statements are stopped by default.
SELECT * FROM `test01` ;

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

05321590-BB65-4720-8CB6-8218E041CDD0

Examples

Sample success responses

JSONformat

{
  "RequestId": "05321590-BB65-4720-8CB6-8218E041CDD0"
}

Error codes

HTTP status codeError codeError messageDescription
500InternalErrorAn error occurred while processing your request.An error occurred while processing your request.
503ServiceUnavailableAn error occurred while processing your request.An error occurred while processing your request.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-03-25The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 500
    delete Error Codes: 503
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: InitialQueryId