解绑设备
与绑定设备接口对应,常用于从电站中删除设备。
使用场景: 通常情况下,当设备从您的EMS平台中删除的时候,你需要主动调用该接口,将设备从您的API账户解绑。解绑后,设备实时数据推送会立刻停止,不再可以 查到该设备数据。
✨ 案例
Request
curl --location -g '{{EU}}/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
}