FAQ管理

批量修改 FAQ 状态和标签

Changed on

对明确指定的 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
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

idstring required

知识库ID

Request body

entry_idsinteger[] required

Explicit FAQ entry seq_ids from faq.list_entries. At most 20 per call.

is_enabledboolean

Whether these entries can be retrieved; omitted keeps the current state.

is_recommendedboolean

Whether these entries are recommended; omitted keeps the current state.

tag_idinteger

Tag seq_id from knowledge_base.list_tags; 0 clears tags, omitted keeps them.

Response

OK

successboolean

Example response

{
  "success": true
}

Changes