知识管理

批量删除知识

Changed on

按 ID 列表批量删除单个知识库下的多个知识条目

post/knowledge/batch-delete

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/batch-delete
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Request body

idsstring[] required

Documents to delete.

kb_idstring required

Knowledge base the documents belong to.

Response

删除成功

messagestring
successboolean

Example response

{
  "success": true
}

Changes