---
title: "Update plant"
method: PUT
path: "/api/v1/plants/{id}"
tags: ["Plants"]
---

# Update plant

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

Update plant.

## Path parameters

- `id` integer, required

## Request body

- UpdatePlant
  - `token` string, required
  - `item` object
    - `name` string — The botanical name of the plant.
    - `owner_id` integer — ID of the owner - if omitted, will default to your id
    - `phenotype` string — Observable physical or biochemical characteristics of the plant
    - `genotype` string — The genetic makeup of the plant
    - `generation` string — Generation of the plant
    - `harvest_date` string, date — The date when the plant was harvested, formatted as YYYY-MM-DD
    - `source` string — The origin of the plant
    - `description` string — Description of the plant

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