---
title: "POST /task/cancel"
method: POST
path: "/task/cancel"
---

# POST /task/cancel

`POST /task/cancel`

Cancels a task (stops its execution, or prevents it from being executed)

## Query parameters

- `token` string

## Request body

- string

## Response `200`

Command Received

- Response
  - `success` boolean, required — true if the command succeeded, false otherwise
  - `error` string — Error message if an error occured

---

[API](https://skmtc.net/opendronemap/apis/nodeodm.md) · [All operations](https://skmtc.net/opendronemap/apis/nodeodm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opendronemap/nodeodm/versions/0967fcbb5e81/schema)
