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

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

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

Actions188

政民沟通 → [网格管理] 编辑网格

AI-generated

Summary

Update an existing residential grid's details in the WeCom Living resource, including grid name, parent grid, administrators, and optionally its member list.

Inputs

  • 网格ID (required) — The unique identifier of the grid to update.
  • 网格名称 (required) — The new name for the grid, limited to 30 characters.
  • 父网格ID (required) — The ID of the parent grid; nested grids support up to 10 levels.
  • 负责人UserID列表 (required) — A list of UserIDs for the grid administrators; must contain between 1 and 20 users, separated by comma, Chinese comma, pipe, or newline.
  • 更新网格成员 — Flag to indicate whether the grid members should be fully updated. When false, existing members remain unchanged; when true, members are replaced by the provided list.
  • 网格成员UserID列表 — List of UserIDs to set as grid members when full update is enabled; up to 100 users allowed. Leaving empty clears all members.

Output shape

a single JSON object describing the updated grid details

The output reflects the update result from WeCom Living API; errors may occur if parameters are invalid or limits exceeded.

Examples

Example 1: Update grid name and administrators without changing members

Provide grid_id, grid_name, grid_parent_id, grid_admin, and leave update_grid_member false (default) so members remain unchanged.

Example 2: Full update replacing old members with a new member list

Set update_grid_member to true and provide a grid_member list of UserIDs; leaving grid_member empty will clear all members.

Links

Discussion