Version 4.0.26.22 (latest)

Kill a query with a specific query_task_id.

## Request

DELETE /running_queries/{query_task_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... query_task_id string Query task id.

## Response

### 204: Query successfully killed.

Datatype Description (string) string

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

## Examples

### Python


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/kill_queries.py](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/kill_queries.py#L36 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/kill_queries.py") |

### Ruby


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/kill_all_running_queries.rb](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/kill_all_running_queries.rb#L13 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/kill_all_running_queries.rb") |