---
title: "Update document attributes"
method: PUT
path: "/api/v1/documents/{id}"
tags: ["Documents"]
---

# Update document attributes

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

## Path parameters

- `id` integer, required

## Request body

- UpdateDocument
  - `token` string, required
  - `item` object
    - `title` string — the document title
    - `description` string — the document description

## Response `200`

document updated

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