---
title: "Bulk Update RNA sequences"
method: POST
path: "/rna-sequences:bulk-update"
tags: ["rnaSequences"]
---

# Bulk Update RNA sequences

`POST /rna-sequences:bulk-update`

## Request

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

Bulk Update RNA sequences

## Request body

- RnaSequencesBulkUpdateRequest
  - `rnaSequences` RnaSequenceBulkUpdate[]
    - `aliases` string[]: Aliases to add to the RNA sequence
    - `annotations` RnaAnnotation[]: Annotations to create on the RNA sequence.
      - `color` string: Hex color code used when displaying this feature in the UI.
      - `customFields` SequenceFeatureCustomField[]
        - `name` string: Name of the custom field
        - `value` string: Value of the custom field
      - `name` string
      - `notes` string
      - `end` integer: 0-based exclusive end index. The end of the sequence is always represented as 0.
      - `start` integer: 0-based inclusive start index.
      - `strand` integer
      - `type` string
    - `authorIds` string[]: IDs of users to set as the RNA sequence's authors.
    - `bases` string: Base pairs for the RNA sequence.
    - `customFields` CustomFields
    - `fields` Fields
    - `folderId` string: ID of the folder containing the RNA sequence.
    - `helm` string: Representation of the RNA sequence in HELM syntax, including any chemical modifications
    - `isCircular` boolean: Whether the RNA sequence is circular or linear. RNA sequences can only be linear
    - `name` string: Name of the RNA sequence.
    - `parts` RnaSequencePart[]
      - `end` integer: 0-based exclusive end index. The end of the sequence is always represented as 0.
      - `sequenceId` string
      - `start` integer: 0-based inclusive start index.
      - `strand` integer
    - `primers` Primer[]
      - `bases` string
      - `bindPosition` integer
      - `color` string
      - `end` integer: 0-based exclusive end index. The end of the sequence is always represented as 0.
      - `name` string
      - `oligoId` string
      - `overhangLength` integer
      - `start` integer: 0-based inclusive start index.
      - `strand` integer
    - `schemaId` string: ID of the RNA sequence's schema.
    - `translations` Translation[]: Translations to create on the RNA sequence. Translations are specified by either a combination of 'start' and 'end' fields, or a list of regions. Both cannot be provided.
      - `color` string: Hex color code used when displaying this feature in the UI.
      - `customFields` SequenceFeatureCustomField[]
        - `name` string: Name of the custom field
        - `value` string: Value of the custom field
      - `name` string
      - `notes` string
      - `aminoAcids` string
      - `coerceStartCodonToMethionine` boolean: Whether to override the translation of the start codon to Methionine. Has no effect when the start codon already translates to Methionine.
      - `end` integer: 0-based exclusive end index. The end of the sequence is always represented as 0.
      - `geneticCode` 'STANDARD' | 'VERTEBRATE_MITOCHONDRIAL' | 'YEAST_MITOCHONDRIAL' | 'MOLD_PROTOZOAN_COELENTERATE_MITOCHONDRIAL_MYCOPLASMA_SPIROPLASMA' | 'INVERTEBRATE_MITOCHONDRIAL' | 'CILIATE_DASYCLADACEAN_HEXAMITA_NUCLEAR' | 'ECHINODERM_FLATWORM_MITOCHONDRIAL' | 'EUPLOTID_NUCLEAR' | 'BACTERIAL_ARCHAEAL_PLANT_PLASTID' | 'ALTERNATIVE_YEAST_NUCLEAR' | 'ASCIDIAN_MITOCHONDRIAL' | 'ALTERNATIVE_FLATWORM_MITOCHONDRIAL' | 'CHLOROPHYCEAN_MITOCHONDRIAL' | 'TREMATODE_MITOCHONDRIAL' | 'SCENEDESMUS_OBLIQUUS_MITOCHONDRIAL' | 'THRAUSTOCHYTRIUM_MITOCHONDRIAL' | 'RHABDOPLEURIDAE_MITOCHONDRIAL' | 'CANDIDATE_DIVISION_SR1_GRACILIBACTERIA' | 'PACHYSOLEN_TANNOPHILUS_NUCLEAR' | 'MESODINIUM_NUCLEAR' | 'PERITRICH_NUCLEAR' | 'CEPHALODISCIDAE_MITOCHONDRIAL_UAA_TYR': The genetic code to use when translating the nucleotide sequence into amino acids.
      - `regions` TranslationRegionsItems[]
        - `end` integer: 0-based exclusive end index. The end of the sequence is always represented as 0.
        - `start` integer: 0-based inclusive start index.
      - `start` integer: 0-based inclusive start index.
      - `strand` integer
    - `customNotation` string: Representation of the sequence or oligo in the custom notation specified by customNotationId
    - `customNotationId` string: ID of the notation used to interpret the string provided in the customNotation field
    - `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 [RNA Sequences](https://docs.benchling.com/docs/api/v2/benchling-api/rna-sequences/bulk-get-rna-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)
