---
title: "Cancel a task"
method: DELETE
path: "/api/v1/tasks/{taskId}"
tags: ["Tasks"]
---

# Cancel a task

`DELETE /api/v1/tasks/{taskId}`

## Path parameters

- `taskId` string, uuid, required

## Response `200`

Task cancelled

- object
  - `ok` true
  - `data` object
    - `cancelled` boolean

## Other responses

- `404` — Resource not found

## Changes

- **2026-04-17** `5eb4ed0f33c7` — 7 breaking, 2 warning, 1 info
  - the response property `data` became optional for the status `200`
  - the response property `data/cancelled` became optional for the status `200`
  - the response property `ok` became optional for the status `200`
  - the `cancelled` response property const value `true` was removed for the status `200`
  - …6 more

[Change history](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/changes/api/v1/tasks/:taskId/delete.md)

---

[API](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api.md) · [All operations](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitbybit-dev/bitbybit-cad-cloud-api/revisions/5eb4ed0f33c7/schema)
