---
title: "Batch update Folder"
method: PATCH
path: "/api/v3/folder:batch-update"
tags: ["Folder"]
---

# Batch update Folder

`PATCH /api/v3/folder:batch-update`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/folder:batch-update`
- Auth: HTTP bearer

Batch update Folder synchronously in one transaction. Maximum 25 items per request.

## Request body

- object
  - `items` UpdateFolderInputWithPathParams[], required
    - `archiveReason` string: Why it is being archived. Required when `archived` is `true`, and not allowed when unarchiving.
    - `archived` boolean: Set to `true` to archive or `false` to unarchive it. Archiving requires `archiveReason`.
    - `description` string, nullable
    - `id` string, required
    - `name` string

## Response `200`

OK

- FolderBatchupdateResponse200
  - `items` Folder[], required
    - `__typename` string
    - `archiveReason` string, nullable
    - `archived` boolean
    - `children` string, uri: The folders directly nested under this folder.
    - `createdAt` string, datetime
    - `description` string, nullable
    - `id` string
    - `modifiedAt` string, datetime, nullable
    - `name` string, nullable
    - `parent` FolderRef
      - `__typename` string
      - `id` string, api_id
    - `project` ProjectRef
      - `__typename` string
      - `id` string, api_id

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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