delete_doc
Remove a specified document from the Yuque knowledge base using namespace and document ID. Ensure proper authorization with an access token. Note: This action is irreversible.
Instructions
从语雀知识库中删除指定文档,此操作不可撤销
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accessToken | No | 用于认证 API 请求的令牌 | |
id | Yes | 要删除的文档ID | |
namespace | Yes | 知识库的命名空间,格式为 user/repo |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"accessToken": {
"description": "用于认证 API 请求的令牌",
"type": "string"
},
"id": {
"description": "要删除的文档ID",
"type": "number"
},
"namespace": {
"description": "知识库的命名空间,格式为 user/repo",
"type": "string"
}
},
"required": [
"namespace",
"id"
],
"type": "object"
}