知识管理
删除知识
Changed on根据ID异步删除知识条目。请求会被入队到与批量删除相同的异步管道(asynq); 接口返回 200 仅表示任务已提交(响应 data.task_id 为任务 ID),实际删除由后台 worker 完成。
delete/knowledge/{id}
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/{id}
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Path parameters
idstring required
知识ID
Response
任务已提交
Example response
{
"success": true
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
ApiKeyAuthwas added to the API
- info