---
title: "Archive Oligos"
method: POST
path: "/oligos:archive"
tags: ["oligos"]
deprecated: true
---

# Archive Oligos

`POST /oligos:archive`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/oligos:archive`
- Auth: HTTP bearer

> **Deprecated.**

Archive Oligos

## Request body

- OligosArchive: The request body for archiving Oligos.
  - `oligoIds` string[], required
  - `reason` 'Made in error' | 'Retired' | 'Expended' | 'Shipped' | 'Contaminated' | 'Expired' | 'Missing' | 'Other', required: The reason for archiving the provided entities. Accepted reasons may differ based on tenant configuration.

## Response `200`

OK

- OligosArchivalChange: IDs of all items that were archived or unarchived, grouped by resource type. This includes the IDs of Oligos along with any IDs of batches that were archived / unarchived.
  - `batchIds` string[]
  - `oligoIds` string[]

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
