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

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

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

Actions188

政民沟通 → [事件类别] 修改事件类别

AI-generated

Summary

Update an existing event category in the WeCom政民沟通 (Living) service by specifying its category ID, name, level, and optionally its parent category ID for secondary categories.

Inputs

  • category_id (required) — The unique identifier of the category to update.
  • category_name (required) — The new name for the category, up to 30 characters.
  • level (required) — The category's hierarchical level, either 1 (primary) or 2 (secondary).
  • parent_category_id — The ID of the parent category, required if the level is 2.

Output shape

a single API response object indicating success or failure of the update operation

The response corresponds to the official WeCom API update event category endpoint and includes status details. No pagination is involved.

Links

Discussion