企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

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

Actions298

微盘 → [权限管理] 添加文件成员

AI-generated

Summary

Add members to a 微盘 file or folder

Inputs

  • fileId (required) — 文件或文件夹的ID更多信息
  • authInfoCollection (required) — 要添加的成员或部门更多信息

Output shape

a success response (typically empty body or standard error/status object)

No detailed payload is returned on success; errors follow the standard WeCom error envelope.

Examples

Example 1: Add a department to a file

Set 文件ID to '12345' and add a member of type '部门' with departmentid '67890'.

Example 2: Add a user to a folder

Set 文件ID to '67890' and add a member of type '成员' with userid '12345'.

Example 3: Add multiple members at once

Provide a list of member definitions under authInfoCollection to add several users or departments in one operation.

Links

Discussion