---
title: "Archive a unit"
method: PUT
path: "/inventory/v1/unit-actions/{id}/archive"
tags: ["UnitActions"]
---

# Archive a unit

`PUT /inventory/v1/unit-actions/{id}/archive`

Archive the specific unit.
This action makes unit unavailable for all operations and cannot be undone.<br>You must have this scope: 'setup.manage'.

## Path parameters

- `id` string, required

## Response `204`

Confirmation of the operation was successful.

## Other responses

- `400` — Bad request.
- `401` — You are unauthorized.
- `403` — Forbidden.
- `404` — The Request-URI could not be found.
- `422` — Validation errors in the request body or query params.
- `499` — Client closed request.
- `500` — An unexpected error occurred.
- `503` — The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-inventory-api.md) · [All operations](https://skmtc.dev/apaleo/apis/apaleo-inventory-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apaleo/apaleo-inventory-api/revisions/a2846f52cdfb/schema)
