---
title: "Archive one or more workflows"
method: POST
path: "/workflow-task-groups:archive"
tags: ["workflowTaskGroups"]
---

# Archive one or more workflows

`POST /workflow-task-groups:archive`

## Request

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

Archive one or more workflows

## Request body

- WorkflowTaskGroupsArchive
  - `reason` 'Made in error' | 'Retired' | 'Other', required: The reason for archiving the provided workflow task groups. Accepted reasons may differ based on tenant configuration.
  - `workflowTaskGroupIds` string[], required

## Response `200`

OK

- WorkflowTaskGroupsArchivalChange: IDs of all items that were archived or unarchived, grouped by resource type
  - `workflowTaskGroupIds` 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)
