---
title: "Update a virus"
method: PUT
path: "/api/v1/viruses/{id}"
tags: ["Viruses"]
---

# Update a virus

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

Update a virus.

## Path parameters

- `id` integer, required

## Request body

- UpdateVirus
  - `token` string, required
  - `item` object
    - `name` string — The name of the virus
    - `alternative_name` string — alternative name for the virus
    - `gene_insert` string — Specific gene or genetic insert present in the virus
    - `virus_type` string — The virus type
    - `plasmid` string — The plasmid that is used in the creation or manipulation of the virus
    - `serotype_strain` string — serotype or strain of the virus
    - `mutations_deletions` string — genetic mutations or deletions within the virus details
    - `tag` string — Tag
    - `selectable_marker` string — Selectable marker
    - `producer_cell_type` string — Producer cell type
    - `viral_coat` string — Viral coat
    - `tropism` string — Tropism
    - `species` string — The species from which the virus was isolated or generated
    - `safety_information` string — safety information details
    - `storage_conditions` string — Conditions under which the virus should be stored
    - `owner_id` integer — id of the owner - by default it's your member id
    - `source` string — The origin of the virus
    - `description` string — Description of the virus

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