---
title: "Archive entities"
method: POST
path: "/api/v1-beta/customers/{id}/entities/archive"
tags: ["Beta - Entities"]
---

# Archive entities

`POST /api/v1-beta/customers/{id}/entities/archive`

Archives entities in bulk for the given customer by id.

## Path parameters

- `id` string, required

## Headers

- `X-ACCOUNT-ID` string
- `X-ENVIRONMENT-ID` string

## Request body

- EntityIdsRequestDto — List of entity identifiers to act on in bulk (1-100 entries)
  - `ids` string[], required — Entity identifiers to act on

## Response `200`

No content.

- EntityIdsActionResponseDto — Wrapped response echoing the ids that were acted on by an archive/unarchive call
  - `data` object, required — List of entity identifiers that were acted on
    - `ids` string[], required — Entity identifiers to act on

## Other responses

- `400` — bad request.
- `401` — User is not authenticated.
- `403` — User is not allowed to access this resource.
- `404` — Entity not found.
- `429` — Too many requests.

## Changes

- **2026-06-08** `3acd63d6c861` — 2 info
  - added the new optional `header` request parameter `X-ACCOUNT-ID`
  - added the new optional `header` request parameter `X-ENVIRONMENT-ID`
- **2026-06-04** `4fa87d66426d` — 1 warning
  - added the new `PricingModelNotSupportedByBillingIntegration` enum value to the `code` response property for the response status `400`
- **2026-05-31** `0dece860f678` — 1 warning
  - added the new `DataExportIntegrationError` enum value to the `code` response property for the response status `400`
- **2026-05-28** `b181b166a2a5` — 1 warning
  - added the new `InvalidReceivedSignatureError` enum value to the `code` response property for the response status `400`
- **2026-05-25** `41a773d02dfd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stiggio/apis/stigg-api/changes/api/v1-beta/customers/:id/entities/archive/post.md)

---

[API](https://skmtc.dev/stiggio/apis/stigg-api.md) · [All operations](https://skmtc.dev/stiggio/apis/stigg-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stiggio/apis/stigg-api/revisions/de96c0c4633a?raw)
