Skip to content
LogoLogo

Move a Task to trash

Move a Task to trash

POST/api/v1/tasks/{task_id}/trash

Removes the Task from active collections, search, notification delivery, reminders, recurrence, and integration writes. Content and associations remain recoverable until the fixed 30-day retention clock expires. Repeating the desired-state command at the same revision is unchanged.

Path Parameters

task_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

If-MatchRequired
string

Entity tag containing the resource version last observed by the client.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Responses

410The Task has already been purged and cannot be changed.