---
title: "Update gene"
method: PUT
path: "/api/v1/genes/{id}"
tags: ["Genes"]
---

# Update gene

`PUT /api/v1/genes/{id}`

Update a gene.

## Path parameters

- `id` integer, required

## Request body

- UpdateGene
  - `token` string, required
  - `item` object
    - `title` string — The name of the gene
    - `alternative_name` string — Alternative gene name.
    - `expression_location` string — Location of gene expression.
    - `pathway` string — Involved metabolic pathway.
    - `sequence` string — Gene sequence.
    - `owner_id` integer — id of the owner - by default it's your member id
    - `source` string — The origin or source from which the gene was obtained.
    - `description` string — Detailed gene information.

## Response `200`

OK

## Other responses

- `401` — Error: Unauthorized
- `422` — Invalid request

---

[API](https://skmtc.net/labguru/apis/labguru-api.md) · [All operations](https://skmtc.net/labguru/apis/labguru-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labguru/labguru-api/revisions/0534e4d70b77/schema)
