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

# Batch update Dropdown

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

## Request

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

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

## Request body

- object
  - `items` UpdateDropdownInputWithPathParams[], 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`.
    - `id` string, required
    - `name` string: Updated dropdown name.
    - `options` UpdateDropdownInputWithPathParamsOptionsItems[]: Replacement list of options. Include existing options to retain them.
      - union
        - CreateDropdownOptionInput
          - `name` string, required: The display name of this dropdown option.
        - UpdateDropdownOptionInput
          - `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`.
          - `id` string, required
          - `name` string: Updated display name.

## Response `200`

OK

- DropdownBatchupdateResponse200
  - `items` Dropdown[], required
    - `__typename` string
    - `archiveReason` string, nullable
    - `archived` boolean
    - `id` string: ID of the dropdown
    - `name` string: Name of the dropdown
    - `options` string, uri: Array of dropdown options
    - `registry` RegistryRef
      - `__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)
