---
title: "Archive a batch of tasks by ID"
method: POST
path: "/crm/objects/2025-09/tasks/batch/archive"
tags: ["Batch"]
---

# Archive a batch of tasks by ID

`POST /crm/objects/2025-09/tasks/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/objects/2025-09/tasks/batch/archive`
- Auth: none required

Archive a batch of tasks by their IDs, moving them to the recycling bin. This operation requires a list of task IDs to be provided in the request body.

## Request body

- BatchInputSimplePublicObjectId: Represents a batch input payload containing a list of simple public object IDs. This component is used when performing batch operations on multiple objects within HubSpot.
  - `inputs` SimplePublicObjectId[], required: An array of simple public object IDs to be processed in the batch operation.
    - `id` string, required: The unique ID of the object.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-25** (2025-09) `799cabc608e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/crm-tasks/changes/crm/objects/2025-09/tasks/batch/archive/post.md)

---

[API](https://skmtc.dev/hubspot/apis/crm-tasks.md) - [All operations](https://skmtc.dev/hubspot/apis/crm-tasks/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/crm-tasks/revisions/6090f06b898a?raw)
