---
title: "Cancel all pending work items for a given app and execution ID"
method: POST
path: "/work-center-service/work-items/cancel-work-items"
tags: ["Work Center Service"]
---

# Cancel all pending work items for a given app and execution ID

`POST /work-center-service/work-items/cancel-work-items`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/work-center-service/work-items/cancel-work-items`
- Auth: none declared

Cancels all pending work items for a given app and execution ID.

## Request body

- object
  - `body` WorkCenterServiceWorkItemsCancelWorkItemsPostRequestBodyContentApplicationJsonSchemaBody
    - `appId` string, required: Application identifier that is creating the work item.
    - `executionId` string, required: Unique identifier of the running job or session that invoked createWorkItem.

## Response `200`

Work items canceled successfully

- WorkCenterServiceCancelWorkItemsResponse200
  - `canceledCount` number, double, required: Number of pending work items that were canceled

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Work Center Service` added
  - api tag `workCenterService` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/work-center-service/work-items/cancel-work-items/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
