TOOL API
manage. delete_ file
Deletes a file from the Tencent Docs home list (moving it to the recycle bin) or removes a node from a space. If both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.
productivityOAuth1 credits
Call information
- Tool slug
- tencent-docs.manage.delete_file
- Provider
- Tencent Docs
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
delete_type仅对首页文件有效,首页文件所属的列表类型:origin-源文件,recent-浏览记录,默认值是origin
file_idrequired文件ID
remove_type仅对空间节点有效, 空间节点删除类型:current(默认)仅删除当前节点,子节点自动挂载到上级节点;all 删除当前节点及其所有子节点,【谨慎使用,会递归删除所有子节点】