企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions257

安全管理 → [设备管理] 导入可信企业设备

AI-generated

Summary

Import trusted enterprise devices into WeCom security management

Inputs

  • credentials (required) — OAuth or API credentials for the WeCom corporate account, must have permission to manage trusted devices
  • device_list (required) — Fixed collection of device entries; each entry includes system type and MAC address list (Windows mandatory, Mac optional) plus optional fields like board UUID, hard disk UUID, domain, computer name, Mac serial number

Output shape

object

On success returns an object containing the imported device IDs and a success flag; on failure returns an error object. The response may be paginated if many devices are imported.

Examples

Example 1: Add two Windows devices with MAC addresses and board UUID

credentials set to corporate API token, device_list contains two entries: system=Windows, mac_addr=['50:81:40:29:33:CA'], motherboard_uuid='MB12345'; second entry similar with different MACs

Example 2: Batch import Mac devices with serial numbers

credentials same, device_list entries each with system=Mac, mac_addr list of Macs, seq_no required for each

Example 3: Import a mixed list of Windows and Mac devices

credentials configured, device_list includes entries for both system types, using appropriate mandatory fields per system

Links

Discussion