> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Task deleted

> Fired when a task in your workspace is deleted.

This event is fired when a task is deleted.

The payload contains `previousTask`, the deleted row, with `deletedAt` and `deletedBy` populated.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

<Snippet file="webhooks/task-deleted.mdx" />

<Snippet file="webhooks/sdk-usage.mdx" />
