Skip to content
LogoLogo

Archive a Task

Archive a Task

DELETE/api/v1/tasks/{task_id}

Archives a Task with optimistic concurrency. The current Task revision must be supplied in If-Match; retries with the same idempotency key replay the original response.

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