---
title: "Changes to Cancel Task"
method: POST
path: "/tasks/{task_id}/cancel"
---

# Changes to Cancel Task

`POST /tasks/{task_id}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 58 revisions.

- **2026-07-16** `702bb2729fe2`: 1 warning
- **2026-05-29** `12a516f4d9ac`: 1 info

## Changes

- **2026-07-16** `702bb2729fe2`: 1 warning
  - added the new `INTERRUPTED` enum value to the `status/anyOf[subschema #1: TaskStatus]/` response property for the response status `200`
- **2026-05-29** `12a516f4d9ac`: 1 info
  - added the optional property `cleaned_at` to the response with the `200` status

---

[Operation](https://skmtc.dev/scaleapi/apis/agentex-api/docs/tasks/:task_id/cancel/post.md) - [API](https://skmtc.dev/scaleapi/apis/agentex-api.md) - [Page](https://skmtc.dev/scaleapi/apis/agentex-api/changes/tasks/:task_id/cancel/post)
