---
title: "Batch Cancel Executions"
method: POST
path: "/batch-cancel"
---

# Batch Cancel Executions

`POST /batch-cancel`

Cancels multiple workflow executions in a single request. 
Only running executions can be cancelled. Returns lists of successfully cancelled executions, failed cancellations, and executions that were not running (can't be cancelled).

## Request body

- object
  - `executionIds` string[], required — List of execution IDs to cancel

## Response `200`

Batch cancellation request processed

- object
  - `cancelledExecutionIds` string[], required — List of execution IDs that were successfully cancelled
  - `failedCancelExecutionIds` string[] — List of execution IDs that failed to cancel (optional)
  - `nonRunningExecutionIds` string[] — List of execution IDs that were not in a running state (optional)

## Other responses

- `400` — Bad request - invalid input format
- `401` — Unauthorized - invalid or missing authentication
- `403` — Forbidden - user doesn't have permission to cancel these executions
- `404` — One or more executions not found
- `429` — Too many requests - rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.net/sola-solutions/apis/sola-execution-api.md) · [All operations](https://skmtc.net/sola-solutions/apis/sola-execution-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sola-solutions/sola-execution-api/versions/144bf308665b/schema)
