---
title: "Update a DNA Oligo"
method: PATCH
path: "/dna-oligos/{oligo_id}"
tags: ["dnaOligos"]
---

# Update a DNA Oligo

`PATCH /dna-oligos/{oligo_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/dna-oligos/{oligo_id}`
- Auth: HTTP bearer

Update a DNA Oligo

## Path parameters

- `oligo_id` string, required

## Request body

- DnaOligoUpdate
  - `aliases` string[]: Aliases to add to the Oligo
  - `authorIds` string[]: IDs of users to set as the Oligo's authors.
  - `bases` string: Base pairs of the oligo.
  - `customFields` CustomFields
  - `fields` Fields
  - `folderId` string: ID of the folder containing the Oligo.
  - `name` string: Name of the Oligo.
  - `schemaId` string: ID of the oligo's schema.
  - `annotations` DnaAnnotation[]: Annotations on the Oligo.
    - `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
  - `helm` string: Representation of the oligo in HELM syntax, including any chemical modifications
  - `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

## Response `200`

OK

- unknown

## 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)
