工具 API

manage.set_privilege

根据文件id或空间id设置文件或空间的权限,仅支持设置全员可查看和全员可编辑,policy=2表示所有人可读,policy=3表示所有人可编辑 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 积分

调用信息

工具标识
tencent-docs.manage.set_privilege
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

file_id必填

文档ID 或 空间ID

policy必填

权限策略,2-所有人可读,3-所有人可编辑