企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

通讯录管理 → [部门管理] 更新部门

AI-generated

Summary

Updates a WeCom department identified by its ID. Set any optional fields you want changed; omitted fields are not sent, so they remain unchanged. Enable “更新次序值” to also send the department’s order.

Inputs

  • 部门ID (id) (required) — ID of the department to update.
  • 部门名称 (name) — New department name.
  • 英文名称 (name_en) — New English name; WeCom requires multilingual support to be enabled for this field to take effect.
  • 父部门ID (parentid) — New parent department ID. Moving a department requires management permission for the new parent.
  • 更新次序值 (update_order) — When enabled, includes the order value in the update request.
  • 在父部门中的次序值 (order) — Order value sent when “更新次序值” is enabled. Higher values appear earlier.

Output shape

The operation’s return shape is not shown in the supplied source pack.

The properties describe an update to an existing department. The source pack contains only the signature for this operation’s implementation, so it does not establish the exact request handling or returned data shape.

Links

Discussion