---
title: "Update Vector Db"
method: PUT
path: "/governance-service/api/ai/vectordb/{id}"
tags: ["AI Vector DB Management"]
---

# Update Vector Db

`PUT /governance-service/api/ai/vectordb/{id}`

Update an existing Vector DB by ID.

## Path parameters

- `id` integer, required

## Request body

- VectorDBViewInput — A model representing an VectorDB. Inherits from: BaseView: The base model containing common fields. Attributes: name (str): The name of the Vector DB. description (str): The description of the Vector DB. type (VectorDBType): The type of the Vector DB. user_enforcement (int): The user enforcement of the Vector DB. group_enforcement (int): The group enforcement of the Vector DB. ai_applications (Optional[str]): The AI applications associated with the Vector DB.
  - `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
  - `name` string — The name of the Vector DB
  - `description` string — The description of the Vector DB
  - `type` 'OPENSEARCH' | 'MILVUS', required
  - `userEnforcement` integer — The user enforcement of the Vector DB
  - `groupEnforcement` integer — The group enforcement of the Vector DB
  - `aiApplications` string[], nullable — The AI applications associated with the Vector DB

## Response `200`

Successful Response

- VectorDBViewOutput — A model representing an VectorDB. Inherits from: BaseView: The base model containing common fields. Attributes: name (str): The name of the Vector DB. description (str): The description of the Vector DB. type (VectorDBType): The type of the Vector DB. user_enforcement (int): The user enforcement of the Vector DB. group_enforcement (int): The group enforcement of the Vector DB. ai_applications (Optional[str]): The AI applications associated with the Vector DB.
  - `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
  - `name` string — The name of the Vector DB
  - `description` string — The description of the Vector DB
  - `type` 'OPENSEARCH' | 'MILVUS', required
  - `userEnforcement` integer — The user enforcement of the Vector DB
  - `groupEnforcement` integer — The group enforcement of the Vector DB
  - `aiApplications` string[], nullable — The AI applications associated with the Vector DB

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