---
title: "Archive a batch of tasks"
method: PATCH
path: "/v3/task-archive/archive-batch"
tags: ["[v3] Task Archive"]
---

# Archive a batch of tasks

`PATCH /v3/task-archive/archive-batch`

Queues multiple active tasks for archiving. Tasks that are already archived are skipped.

## Request body

- object
  - `taskIds` integer[], required — List of task IDs to archive.

## Response `200`

OK

- object
  - `message` string

## Other responses

- `403` — The authenticated OAuth2 access token or PAT does not contain any scope accepted by the endpoint.

---

[API](https://skmtc.net/timecamp/apis/timecamp-api.md) · [All operations](https://skmtc.net/timecamp/apis/timecamp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timecamp/timecamp-api/revisions/c7e9d1f9cf61/schema)
