## Archive a task **delete** `/api/tasks/{taskId}` Archive a task so it stops appearing in `GET /tasks` results. Turns and files are retained for audit purposes. Only the worker creator can archive a task. ### Path Parameters - `taskId: string` ### Returns - `DeleteTaskResponse object { archived }` - `archived: boolean` ### Example ```http curl https://handinger.com/api/tasks/$TASK_ID \ -X DELETE \ -H "Authorization: Bearer $HANDINGER_API_KEY" ``` #### Response ```json { "archived": true } ```