---
title: "Update a sequence"
method: PUT
path: "/api/v1/sequences/{id}"
tags: ["Sequences"]
---

# Update a sequence

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

Update a sequence.

## Path parameters

- `id` integer, required

## Request body

- UpdateSequence
  - `token` string, required
  - `item` object
    - `title` string — The name of the sequence
    - `owner_id` integer — id of the owner - by default it's your member id
    - `seq` string — The actual sequence data in characters
    - `kind` integer — sequence type: DNA = 1, CDNA = 2, RNA = 3, PROBE = 4, PROTEIN = 5
    - `accsesion` string — The unique accession number assigned to the sequence
    - `organism` string — The organism from which the sequence is derived
    - `description` string — Description of the sequence

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