---
title: "Cancel workflow task."
method: POST
path: "/workflowTasks/{workflowTaskId}/canceled"
tags: ["Workflow Tasks"]
---

# Cancel workflow task.

`POST /workflowTasks/{workflowTaskId}/canceled`

Cancels the workflow task with the specified ID with a reason. If the given workflow is a subprocess, this method makes sure everything is cancelled from the root process instance. If the given task is not found, this method will assume it already was cancelled without throwing any error.

## Path parameters

- `workflowTaskId` string, uuid, required

## Request body

- string

## Response `204`

Task successfully canceled.

## Other responses

- `404` — Task not found.

---

[API](https://skmtc.net/collibra/apis/collibra-data-governance-center-core-api.md) · [All operations](https://skmtc.net/collibra/apis/collibra-data-governance-center-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/collibra/collibra-data-governance-center-core-api/revisions/6d091bc86a33/schema)
