Skip to content
LogoLogo

Restore an archived or trashed Task

Restore an archived or trashed Task

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

Restores a reversible Task to active state after revalidating its current Project, Status, assignee, caller access, and revision. A conflict must be remediated before retry. A purged tombstone cannot be restored.

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 restored.