---
title: "Cancel a workflow"
method: POST
path: "/workflow/{id}/cancel"
tags: ["Workflow"]
---

# Cancel a workflow

`POST /workflow/{id}/cancel`

Cancels a running workflow.

## Path parameters

- `id` string, uuid, required

## Response `202`

A confirmation message.

- object — message response
  - `message` string, required — A human-readable message

## Other responses

- `default` — Error response.

---

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