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

# Archive a batch of companies

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

## Request

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

Delete a batch of companies by ID. Deleted companies can be restored within 90 days of deletion. Learn more about [restoring records](https://knowledge.hubspot.com/records/restore-deleted-records).

## 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) `2027fd282b1a`: 1 info
  - endpoint added

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

---

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