---
title: "Cancel every in-flight execution"
method: POST
path: "/v1/workflows/{id}/executions/cancel-all"
tags: ["Workflows"]
---

# Cancel every in-flight execution

`POST /v1/workflows/{id}/executions/cancel-all`

## Request

- Base URL: `https://api.volanea.com`
- URL: `https://api.volanea.com/v1/workflows/{id}/executions/cancel-all`
- Auth: HTTP bearer

Cancels every `active` or `waiting` execution for this workflow. Already-finished executions are untouched.

## Path parameters

- `id` string, required

## Response `200`

How many executions were cancelled.

- object
  - `cancelled` integer, required

## Other responses

- `401`: Missing or invalid API key.
- `404`: Not found.
- `422`: Request validation failed (code `validation_error`, 422).

---

[API](https://skmtc.dev/volanea/apis/volanea-api.md) · [All operations](https://skmtc.dev/volanea/apis/volanea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/volanea/apis/volanea-api/revisions/9e187ae84fda?raw)
