---
title: "Archive entities"
method: POST
path: "/api/v1-beta/customers/{id}/entities/archive"
tags: ["Governance 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-07-08** `58bb216ff8ce` — 1 warning
  - added the new `GovernanceNotEnabled` enum value to the `code` response property for the response status `403`
- **2026-07-08** `808e91157927` — 2 info
  - api tag `Governance Entities` added
  - api tag `Beta - Entities` removed
- **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`

[Full 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/8b3d4ace525d?raw)
