企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

通讯录管理 → [成员管理] 更新成员

AI-generated

Summary

Update a WeCom member identified by UserID. You can provide optional profile, department, status, external attribute, and email alias changes; the node sends the update to the contact management API and returns its response.

Inputs

  • UserID (userid) (required) — Existing member’s unique UserID.
  • Member fields — Optional fields include name, mobile, department IDs, position, gender, email, company email, address, alias, telephone, enable status, avatar media ID, external company name, channels nickname, external position, direct leader, main department, and new UserID. Department IDs are comma-separated; department order and leader values correspond to that list. Gender and enable status can be left at “不修改”.
  • Custom attributes — Add external-facing attributes (text, web link, or mini program) and standard extension attributes (text or web link) using the collections. The corresponding JSON fields can supplement these values and take precedence. Company email aliases can be entered as a comma-separated list or supplied as JSON, which takes precedence.

Output shape

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

The operation updates the member in WeCom. Fields not supplied are optional; a mobile number may be ignored if the member has already activated WeCom, as indicated in the field description.

Links

Discussion