企业微信(WeCom)-连接微信 icon

企业微信(WeCom)-连接微信

企业微信连接微信功能 - 微信客服、客户联系、家校应用、政民沟通

Actions172

客户联系 → [客户规则组] 编辑规则组

AI-generated

Summary

Edits a WeCom customer strategy group by ID, optionally replacing its name, administrators, permissions, and management range. Provide only the fields you want to update; added and deleted range nodes are sent together in one edit request.

Inputs

  • strategy_id (required) — Positive integer ID of the customer strategy group.
  • updateStrategyName — Enable to send a replacement strategy_name.
  • strategy_name (required) — New group name, shown when updateStrategyName is enabled.
  • updateAdminList — Enable to replace the existing administrator list.
  • admin_list (required) — Administrator UserIDs separated by commas, vertical bars, or newlines; accepts 1–20 entries. WeCom does not support clearing this list with an empty value.
  • rangeAddCollection — Management scope nodes to add. Each node is a member (UserID) or department (department ID).
  • rangeDelCollection — Management scope nodes to remove, using the same member or department fields. Additions and removals together can contain at most 100 nodes.
  • updatePrivilege — Enable to replace the group's permission settings using the privilege fields. If the group has a parent strategy group, WeCom ignores this permission configuration.
  • priv_* — When updatePrivilege is enabled, set the available permissions, such as customer sharing, customer and group messaging, statistics access, exports, tag management, and transfer permissions. These fields default to true.
  • requestBody — Advanced JSON body merged with form fields; values with matching names override form values. The merged body is still validated.
  • requestQuery — Advanced JSON URL query parameters; the access token is appended automatically.

Output shape

A single API response item from WeCom.

The operation updates the strategy group; exact response fields depend on the WeCom API response.

Links

Discussion