---
title: "Task Deleted"
method: POST
path: "task.deleted"
tags: ["Tasks Events"]
---

# Task Deleted

`POST task.deleted` (webhook)

This event is triggered when a task is deleted in the system.

## Payload

- TaskDeletedEvent — Event emitted when a task is deleted
  - `id` string, required — The id of the event
  - `timestamp` string, required — The timestamp of the moment when the event was created in ISO 8601 format
  - `type` 'task.deleted', required — The type of the event
  - `data` object, required — The data of the event
    - `id` string, required — The ID of the task
    - `operation` 'warp' | 'extract-text' | 'convert' | 'render' | 'split' | 'merge' | 'extract-pages' | 'detect-documents' | 'apply-effect' | 'scan', required — The operation of the task

## Acknowledgement `2XX`

Webhook received successfully

---

[API](https://skmtc.net/scan-documents/apis/scan-documents-api.md) · [All operations](https://skmtc.net/scan-documents/apis/scan-documents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scan-documents/scan-documents-api/versions/42f9aa9c3b27/schema)
