---
title: "Cancel a query as identified by the clientQueryId"
method: DELETE
path: "/clientQuery/{clientQueryId}"
tags: ["Query"]
---

# Cancel a query as identified by the clientQueryId

`DELETE /clientQuery/{clientQueryId}`

No effect if no query exists forthe given clientQueryId on any broker. Query may continue to run for a short while after callingcancel as it's done in a non-blocking manner. The cancel method can be called multiple times.

## Path parameters

- `clientQueryId` string, required

## Query parameters

- `timeoutMs` integer
- `verbose` boolean

## Response `200`

Success

## Other responses

- `404` — Query not found on any broker
- `500` — Internal server error

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/revisions/f1cc8a0ba2e0/schema)
