企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

企业微信办公功能 - 文档、微盘、邮件、日程、会议、直播、打卡、审批、汇报、人事、会议室、紧急通知、公费电话

Actions259

微盘 → [权限管理] 文件分享设置

AI-generated

Summary

Set sharing access for a WeCom Drive file or folder by choosing who can use its link and, optionally, updating its permission level.

Inputs

  • 文件ID (required) — ID of the file or folder whose sharing settings to change.
  • 分享范围 (required) — Choose who can access the link: specified members, anyone in the company, or anyone inside or outside the company. The latter two scopes can require administrator approval.
  • 更新分享权限 — When enabled, overwrite the existing permission using the 权限 option; when disabled, leave the existing permission unchanged.
  • 权限 — Shown when 更新分享权限 is enabled. Choose view-only, or preview-only (supported only for WeCom Docs).

Output shape

A single API response item.

The operation sends a request to update the file’s sharing settings. The source pack provides only function signatures for this operation, so the exact response fields are not shown.

Links

Discussion