批量删除设备
接口功能
企业用户设备删除
请求地址
https://open.ys7.com/api/component/saas/res/device/delete
请求方式
POST
参数列表
参数名 | 类型 | 描述 | 是否必填 |
---|---|---|---|
accessToken | String | 开放平台授权获取的访问令牌 | Y |
deviceList | Object[] | 设备一览 | Y |
deviceList[i].deviceSerial | String | 设备序列号 | Y |
请求报文
POST https://open.ys7.com/api/component/saas/res/device/delete HTTP/1.1 Host: open.ys7.com content-type: application/x-www-form-urlencoded accessToken=at.0t76uuu0cl5fab944us61o0m7p0jaynu-8duh2iwlnh-16kyjt4-zqndcyuaj&deviceList%5B0%5D.deviceSerial=C42783529
返回数据
{ "code": "200", "msg": "操作成功", "data": null }
参数说明
参数名 | 类型 | 描述 | 是否必须 |
---|---|---|---|
code | int | 状态码-200表示成功 | Y |
msg | String | 具体错误描述信息 | Y |