---
title: "Cancel one execution"
method: POST
path: "/v1/workflows/{id}/executions/{executionId}/cancel"
tags: ["Workflows"]
---

# Cancel one execution

`POST /v1/workflows/{id}/executions/{executionId}/cancel`

## Request

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

Cancels an `active` or `waiting` execution. No-op error if it has already finished.

## Path parameters

- `id` string, required
- `executionId` string, required

## Response `200`

Cancelled.

- object
  - `success` boolean, required

## Other responses

- `401`: Missing or invalid API key.
- `404`: Not found.
- `409`: Already finished and can't be cancelled (`invalid_state`).
- `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)
