企业微信(WeCom)-办公 icon

企业微信(WeCom)-办公

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

Actions259

邮件 → [公共邮箱] 更新公共邮箱

AI-generated

Summary

Updates selected settings on a WeCom public mailbox. Enable each update switch for the fields you want to change; enabled list fields can be left blank to clear their values.

Inputs

  • 公共邮箱ID (id) (required) — ID of the public mailbox to update; must be at least 1.
  • 更新公共邮箱名称 (updateName) — When enabled, provide 公共邮箱名称 (name), up to 64 bytes.
  • 更新成员UserID列表 (updateUseridList) — When enabled, provide 成员UserID列表 (userid_list), separated by commas, Chinese commas, vertical bars, or newlines. Leave blank to clear the list.
  • 更新部门ID列表 (updateDepartmentList) — When enabled, provide 部门ID列表 (department_list), separated by commas, Chinese commas, vertical bars, or newlines. Leave blank to clear the list.
  • 更新标签ID列表 (updateTagList) — When enabled, provide 标签ID列表 (tag_list), separated by commas, Chinese commas, vertical bars, or newlines. Leave blank to clear the list.
  • 更新邮箱别名列表 (updateAliasList) — When enabled, provide 邮箱别名列表 (alias_list), separated by commas, Chinese commas, vertical bars, or newlines. Leave blank to clear the list.
  • 创建新客户端专用密码 (create_auth_code) — When enabled, creates a new client-specific password. Save the one-time password returned by the operation securely.
  • 专用密码备注 (auth_code_remark) — Optional remark for the new password, up to 128 bytes; shown when creating a new client-specific password.

Output shape

A single response item from the WeCom API for each input item.

The operation sends only fields whose update switches are enabled, plus the mailbox ID. The API response may include the one-time client password when one is created.

Links

Discussion