---
title: "Update Metadata Value"
method: PUT
path: "/account-service/api/vectordb/metadata/value/{id}"
tags: ["Vector DB Metadata values"]
---

# Update Metadata Value

`PUT /account-service/api/vectordb/metadata/value/{id}`

Update an existing Metadata Values by ID.

## Path parameters

- `id` integer, required

## Request body

- MetadataValueViewInput — A model representing a Metadata attribute. Inherits from: BaseView: The base model containing common fields. Attributes: metadata_id (int): The id of the Metadata. metadata_name (Optional[str]): The name of the Metadata. metadata_value (str): The type of the Metadata.
  - `id` integer, nullable — The unique identifier of the resource
  - `status` integer, nullable — The status of the resource
  - `createTime` string, date-time, nullable — The creation time of the resource
  - `updateTime` string, date-time, nullable — The last update time of the resource
  - `metadataId` integer — The id of the Metadata
  - `metadataName` string, nullable — The name of the Metadata Key
  - `metadataValue` string — The value of the Metadata

## Response `200`

Successful Response

- MetadataValueViewOutput — A model representing a Metadata attribute. Inherits from: BaseView: The base model containing common fields. Attributes: metadata_id (int): The id of the Metadata. metadata_name (Optional[str]): The name of the Metadata. metadata_value (str): The type of the Metadata.
  - `id` integer, nullable — The unique identifier of the resource
  - `status` integer, nullable — The status of the resource
  - `createTime` string — The creation time of the resource
  - `updateTime` string — The last update time of the resource
  - `metadataId` integer — The id of the Metadata
  - `metadataName` string, nullable — The name of the Metadata Key
  - `metadataValue` string — The value of the Metadata

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/privacera/apis/paig-server.md) · [All operations](https://skmtc.net/privacera/apis/paig-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privacera/paig-server/versions/e3d2c30ceace/schema)
