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

# Updates the Metadata with the given ID.

`PATCH /projmeta/{metadata_id}`

## Path parameters

- `metadata_id` integer, required

## Request body

- ProjectMetadataUpdate
  - `key` string, nullable — Key of the ProjectMetadata
  - `metatype` 'STRING' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'LIST'
  - `description` string, nullable — Description of the ProjectMetadata

## Response `200`

Successful Response

- ProjectMetadataRead
  - `key` string, required — Key of the ProjectMetadata
  - `metatype` 'STRING' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'LIST', required
  - `read_only` boolean — Flag that tells if the ProjectMetadata cannot be changed. Used for system generated metadata! Use False for user metadata.
  - `doctype` 'text' | 'image' | 'video' | 'audio', required
  - `description` string, required — Description of the ProjectMetadata
  - `id` integer, required — ID of the ProjectMetadata
  - `project_id` integer, required — Project the ProjectMetadata 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/revisions/6b22366ce2d1/schema)
