知识管理

清空知识库内容

Changed on

删除知识库下的所有知识条目(异步任务)。知识库本身保留,仅清空其中的内容

delete/knowledge-bases/{id}/knowledge

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

Path parameters

idstring required

知识库ID

Response

清空任务已提交

messagestring
successboolean

Example response

{
  "success": true
}

Changes