企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

应用管理 → [应用管理] 设置应用

AI-generated

Summary

Update a WeCom application’s settings by submitting its agent ID and any supplied fields. You can change its name, description, avatar media ID, home page URL, trusted domain, location reporting, and user-entry event reporting; fields left at their defaults are omitted from the update.

Inputs

  • 应用 ID (agentid) (required) — Positive integer identifying the application.
  • 应用名称 (name) — Application name, up to 32 UTF-8 characters.
  • 应用详情 (description) — Application details, 4–120 UTF-8 characters.
  • 应用头像 Media ID (logo_mediaid) — Media ID for the application avatar, obtained by uploading an image through WeCom’s media management API.
  • 应用主页 URL (home_url) — Application home page URL; the declared requirement is that it starts with http or https.
  • 可信域名 (redirect_domain) — Trusted domain for the application. WeCom notes that it must pass ownership verification for full JS-SDK functionality.
  • 地理位置上报 (report_location_flag) — Choose “不上报” (0) or “进入会话上报” (1), or leave “不修改” to omit this setting.
  • 上报用户进入应用事件 (isreportenter) — Choose “不接收” (0) or “接收” (1), or leave “不修改” to omit this setting.

Output shape

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

The operation sends a settings update to WeCom; the source pack provided shows only the execute function signature, so response fields and API success handling are not available to verify.

Links

Discussion