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

# Archive a batch of bucket_test111s by ID

`POST /crm/v3/objects/bucket_test111s/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/v3/objects/bucket_test111s/batch/archive`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `crm.objects.contacts.write`
  - API key in header `private-app`
- TypeScript: <https://skmtc.dev/hubspot/apis/crm-bucket-test111/docs/crm/v3/objects/bucket_test111s/batch/archive/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- BatchInputSimplePublicObjectId
  - `inputs` SimplePublicObjectId[], required
    - `id` string, required

## Response `204`

No content

## Other responses

- `default`: An error occurred.

---

[API](https://skmtc.dev/hubspot/apis/crm-bucket-test111.md) - [All operations](https://skmtc.dev/hubspot/apis/crm-bucket-test111/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/crm-bucket-test111/revisions/753e27fbbe95?raw)
