---
title: "Will cancel a currently in-progress workflow."
method: POST
path: "/company/workflow-executions/{workflow_execution_id}/cancel"
tags: ["Workflow"]
---

# Will cancel a currently in-progress workflow.

`POST /company/workflow-executions/{workflow_execution_id}/cancel`

Will cancel a currently in-progress workflow.

## Path parameters

- `workflow_execution_id` string, required

## Headers

- `HTTP_ACCEPT` string, required
- `X-Company-ID` string, required

## Response `200`

Cancel a workflow.

## Other responses

- `400` — Indicates that a workflow is not cancellable.
- `404` — Workflow does not exist.

---

[API](https://skmtc.net/cubesoftware/apis/cube-api.md) · [All operations](https://skmtc.net/cubesoftware/apis/cube-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cubesoftware/cube-api/revisions/67d9f45bb99b/schema)
