跳到主要内容
版本:2.0.0@Current

解绑设备

与绑定设备接口对应,常用于从电站中删除设备。解绑后,设备实时数据推送会立刻停止,不再可以查到该设备数据。

✨ 案例

Request

curl --location -g '{{EU}}/wrapper/topic/deleteTopicMapping?deviceSn=A11230010013204A&topic=/acGmtzpqJCKk' \
--header 'token: xxxx'

Response ①

{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}

Response ②

{
"errorCode": 1,
"info": {
"code": "error.40019",
"description": "无该topic权限"
},
"body": null,
"successful": false
}