---
title: "Updates the documents with the provided data."
method: PUT
path: "/api/v{version}/document"
tags: ["Document"]
---

# Updates the documents with the provided data.

`PUT /api/v{version}/document`

## Path parameters

- `version` string, required

## Request body

- DocumentUpdate[]
  - `id` integer, required — Gets or sets the BDMS.Models.Document's id.
  - `url` string, uri, required — Gets or sets the BDMS.Models.Document's url.
  - `description` string, nullable — Gets or sets the BDMS.Models.Document's description.
  - `public` boolean, required — Gets or sets whether the BDMS.Models.Document is publicly visible.

## Response `200`

OK

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/revisions/e6d0b4ee0f52/schema)
