---
title: "Update FeatureLibrary"
method: PATCH
path: "/api/v3/feature-library/{feature_library_id}"
tags: ["Feature Library"]
---

# Update FeatureLibrary

`PATCH /api/v3/feature-library/{feature_library_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/feature-library/{feature_library_id}`
- Auth: HTTP bearer

Update FeatureLibrary.

## Path parameters

- `feature_library_id` string, required

## Request body

- UpdateFeatureLibraryInput
  - `description` string, nullable: Description of the Feature Library
  - `name` string: Library names must be non-empty after trimming whitespace, at most 128 characters, and unique within the owner (case-insensitive).

## Response `200`

OK

- FeatureLibrary: Represents a reusable collection of biological features for auto-annotating nucleotide and AA sequences. FeatureLibraries enable users to define common sequence motifs (such as genes, promoters, terminators, or protein domains) with associated patterns, then automatically detect and annotate those features across many sequences. Each library contains `FeatureLibraryItem`s that specify the pattern to match and the annotation details to apply. Libraries can be shared with collaborators through ownership and permission controls, making them useful for standardizing annotation practices across a team. When running auto-annotate on a sequence, users select which libraries to search against.
  - `__typename` string
  - `createdAt` string, datetime: DateTime the Feature Library was created
  - `description` string, nullable: Description of the Feature Library
  - `features` string, uri: List of Feature Library Items in this library
  - `id` string
  - `modifiedAt` string, datetime: DateTime the Feature Library was last modified
  - `name` string: Name of the Feature Library
  - `owner` OwnerRef
    - `__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/c9f087b98b8b?raw)
