---
title: "Update Answer Library entry"
method: PATCH
path: "/knowledge-base/answer-library/{id}"
tags: ["Knowledge Base"]
---

# Update Answer Library entry

`PATCH /knowledge-base/answer-library/{id}`

Update an Answer Library entry.

## Path parameters

- `id` string, required

## Request body

- UpdateAnswerLibraryEntryInput
  - `question` string — The question text.
  - `answer` string — The answer text.
  - `ownerAssignment` AnswerLibraryActorAssignmentInput
    - `type` 'User', required — The type of actor. Currently only "User" is supported.
    - `id` string, required — The unique identifier of the user or team.
  - `expirationDate` string, nullable — The expiration date in ISO 8601 format. Pass `null` to clear.
  - `tags` TagInput[] — Tags to associate with the entry. Replaces the existing tag set. Pass `[]` to clear all tags. Discover valid `categoryId` and `tagId` values via `GET /v1/customer-trust/tag-categories` (to list categories) and `GET /v1/customer-trust/tag-categories/{tagCategoryId}` (to list tags within a category).
    - `categoryId` string, required
    - `tagId` string, required

## Response `200`

Ok

- KnowledgeBaseAnswerLibraryEntryOutput
  - `id` string, required
  - `question` string, required
  - `answer` string, required
  - `expirationStatus` 'CURRENT' | 'EXPIRED', required
  - `ownerAssignment` AnswerLibraryActorAssignment, required
    - `type` 'User' | 'Team', required
    - `id` string, required
    - `displayName` string, nullable, required
  - `expirationDate` string, nullable, required
  - `lastUpdated` string, required
  - `lastVerified` string, nullable, required
  - `tags` TagInput[], required
    - `categoryId` string, required
    - `tagId` string, required

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/revisions/6c1f7590538b/schema)
