---
title: "Updates the Metadata with the given ID."
method: PATCH
path: "/sdocmeta/{metadata_id}"
tags: ["sdocMetadata"]
---

# Updates the Metadata with the given ID.

`PATCH /sdocmeta/{metadata_id}`

## Path parameters

- `metadata_id` integer, required

## Request body

- SourceDocumentMetadataUpdate
  - `int_value` integer, nullable, required — Int Value of the SourceDocumentMetadata
  - `str_value` string, nullable, required — String Value of the SourceDocumentMetadata
  - `boolean_value` boolean, nullable, required — Boolean Value of the SourceDocumentMetadata
  - `date_value` string, date-time, nullable, required — Date Value of the SourceDocumentMetadata
  - `list_value` string[], nullable, required — List Value of the SourceDocumentMetadata

## Response `200`

Successful Response

- SourceDocumentMetadataRead
  - `int_value` integer, nullable, required — Int Value of the SourceDocumentMetadata
  - `str_value` string, nullable, required — String Value of the SourceDocumentMetadata
  - `boolean_value` boolean, nullable, required — Boolean Value of the SourceDocumentMetadata
  - `date_value` string, date-time, nullable, required — Date Value of the SourceDocumentMetadata
  - `list_value` string[], nullable, required — List Value of the SourceDocumentMetadata
  - `id` integer, required — ID of the SourceDocumentMetadata
  - `project_metadata_id` integer, required — ID of the ProjectMetadata
  - `source_document_id` integer, required — SourceDocument the SourceDocumentMetadata belongs to

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
