企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

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

Actions259

文档 → [权限设置] 更新子表内容权限

AI-generated

Summary

Updates a WeCom document’s subtable permission rules using the document ID, rule type, and configured subtable permissions. Use the simple list for common sheet access settings, or provide advanced permission fields in JSON.

Inputs

  • 文档ID (required) — ID of the document whose subtable permissions to update.
  • 规则ID — Permission rule ID. Declared for this operation; the available source view does not show whether it is sent in the update request.
  • 权限规则类型 — Select 全员权限 (1) or 额外权限 (2); defaults to 额外权限.
  • 权限规则名称 — Name for an extra permission rule; shown only when the rule type is 额外权限.
  • 子表权限列表 — Repeatable simple settings for each subtable: sheet ID, access level (all, edit, view, or none), whether users can add or delete records or manage views, record range type, and whether to clear that subtable’s settings.
  • 规则扩展JSON — JSON for advanced fields such as full priv_list or field_priv settings. Defaults to {} and takes precedence over overlapping simple-list values.

Output shape

A list of n8n items containing the WeCom API response.

The provided source pack shows the shared WeCom execution path but omits the relevant operation branch body, so the exact response fields and use of the rule ID cannot be established.

Links

Discussion