---
title: "Bulk Update AA sequences"
method: POST
path: "/aa-sequences:bulk-update"
tags: ["aaSequences"]
---

# Bulk Update AA sequences

`POST /aa-sequences:bulk-update`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/aa-sequences:bulk-update`
- Auth: HTTP bearer

Bulk Update AA sequences

## Request body

- AaSequencesBulkUpdateRequest
  - `aaSequences` AaSequenceBulkUpdate[]
    - `aliases` string[]: Aliases to add to the AA sequence
    - `aminoAcids` string: Amino acids for the AA sequence.
    - `annotations` AaAnnotation[]: Annotations to create on the AA sequence.
      - `color` string
      - `end` integer: 0-based exclusive end index. The end of the AA sequence is always represented as 0.
      - `id` string
      - `name` string
      - `notes` string
      - `start` integer: 0-based inclusive start index.
      - `type` string
    - `authorIds` string[]: IDs of users to set as the AA sequence's authors.
    - `customFields` CustomFields
    - `fields` Fields
    - `folderId` string: ID of the folder containing the AA sequence.
    - `name` string: Name of the AA sequence.
    - `schemaId` string: ID of the AA sequence's schema.
    - `id` string

## Response `202`

This endpoint launches a [long-running task](https://docs.benchling.com/docs/api/v2/benchling-api/tasks/get-task) and returns the Task ID of the launched task.
When successful, the task returns a full list of [AA Sequence](https://docs.benchling.com/docs/api/v2/benchling-api/aa-sequences/bulk-get-aa-sequences) resources
that were updated.

- AsyncTaskLink
  - `taskId` 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)
