---
title: "Changes to Archive or unarchive an agent"
method: DELETE
path: "/agent/{id}/archive"
---

# Changes to Archive or unarchive an agent

`DELETE /agent/{id}/archive`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 54 revisions.

- **2026-09-01** `49ce8525306e`: 2 breaking, 3 info
- **2026-05-26** `7131fe74f3cb`: 1 warning, 6 info
- **2026-05-06** `98bb2336fc95`: 1 info

## Changes

- **2026-09-01** `49ce8525306e`: 2 breaking, 3 info
  - the `query` request parameter `on` was restricted to a list of enum values
  - for the `query` request parameter `on`, default value was changed from `true` to `true`
  - added the new enum value `false` to the `query` request parameter `on`
  - added the new enum value `true` to the `query` request parameter `on`
  - for the `query` request parameter `on`, the type was generalized from `boolean` to `string`
- **2026-05-26** `7131fe74f3cb`: 1 warning, 6 info
  - removed the optional property `data` from the response with the `401` status
  - added the new optional `query` request parameter `on`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `500`
  - added the optional property `data` to the response with the `200` status
  - added the optional property `errors` to the response with the `401` status
- **2026-05-06** `98bb2336fc95`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/smallest-inc/apis/agent-management-api/docs/agent/:id/archive/delete.md) - [API](https://skmtc.dev/smallest-inc/apis/agent-management-api.md) - [Page](https://skmtc.dev/smallest-inc/apis/agent-management-api/changes/agent/:id/archive/delete)
