---
title: "Stop all running/pending tasks (as well as the task queue) for the given task type"
method: PUT
path: "/tasks/{taskType}/stop"
tags: ["Task"]
---

# Stop all running/pending tasks (as well as the task queue) for the given task type

`PUT /tasks/{taskType}/stop`

## Path parameters

- `taskType` string, required

## Response `200`

successful operation

- SuccessResponse
  - `status` string

---

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