---
title: "cancel jobs based on the given uuids"
method: POST
path: "/w/{workspace}/jobs/queue/cancel_selection"
tags: ["job"]
---

# cancel jobs based on the given uuids

`POST /w/{workspace}/jobs/queue/cancel_selection`

## Path parameters

- `workspace` string, required

## Query parameters

- `force_cancel` boolean
- `all_workspaces` boolean

## Request body

- string[]

## Response `200`

uuids of canceled jobs

- string[]

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/versions/155a35b3caff/schema)
