---
title: "Update Knowledge Base Entry"
method: PATCH
path: "/kb/entries/{id}/"
tags: ["Knowledge Base"]
---

# Update Knowledge Base Entry

`PATCH /kb/entries/{id}/`

Updates a Knowledge Base entry by ID.

## Path parameters

- `id` string, required — The id of the KB entry to update.

## Request body

- object
  - `question` string
  - `answer` string, nullable
  - `comment` string, nullable
  - `accessLevel` 'public' | 'private' | 'internal'

## Response `201`

Successful operation

- object
  - `ok` boolean
  - `result` Result — unresolved $ref

## Other responses

- `400` — Invalid request
- `403` — Invalid api key / missing scope
- `404` — Not found or no access
- `405` — Method not allowed

---

[API](https://skmtc.net/safebase/apis/safebase-api-documentation.md) · [All operations](https://skmtc.net/safebase/apis/safebase-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/safebase/safebase-api-documentation/revisions/019289073242/schema)
