---
title: "批量修改 FAQ 状态和标签"
method: PATCH
path: "/knowledge-bases/{id}/faq/entries"
tags: ["FAQ管理"]
---

# 批量修改 FAQ 状态和标签

`PATCH /knowledge-bases/{id}/faq/entries`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/knowledge-bases/{id}/faq/entries`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

对明确指定的 FAQ 条目应用相同的部分更新，保留问题、答案及未指定字段

## Path parameters

- `id` string, required

## Request body

- InternalHandlerFAQBatchPatchRequest
  - `entry_ids` integer[], required: Explicit FAQ entry seq_ids from faq.list_entries. At most 20 per call.
  - `is_enabled` boolean: Whether these entries can be retrieved; omitted keeps the current state.
  - `is_recommended` boolean: Whether these entries are recommended; omitted keeps the current state.
  - `tag_id` integer: Tag seq_id from knowledge_base.list_tags; 0 clears tags, omitted keeps them.

## Response `200`

OK

- InternalHandlerSuccessResponse
  - `success` boolean

## Other responses

- `400`: Bad Request

## Changes

- **2026-10-17** `de9fb40c7476`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/knowledge-bases/:id/faq/entries/patch.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/685d1f9fce30?raw)
