---
title: "Cancel batch execution"
method: PUT
path: "/v2/batch-executions/{executionId}/cancel"
tags: ["Batch Executions"]
---

# Cancel batch execution

`PUT /v2/batch-executions/{executionId}/cancel`

## Request

- Base URL: `https://app.aiva.works` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aiva.works/v2/batch-executions/{executionId}/cancel`
- Auth: API key in header `X-API-KEY`

Cancels a batch execution.

## Path parameters

- `executionId` string, guid, required

## Query parameters

- `force` boolean

## Response `202`

Batch execution cancelled

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: User does not have permission to access batches
- `404`: Batch execution not found
- `500`: Server Error

---

[API](https://skmtc.dev/aiva/apis/aiva-cloud-api.md) · [All operations](https://skmtc.dev/aiva/apis/aiva-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiva/apis/aiva-cloud-api/revisions/70eef14d3bcd?raw)
