Skip to main content
Version: 1.0.0

Unbind Device

Corresponds to the Bind Device interface and is commonly used to remove a device from a power station. After unbinding, the real-time data push of the device will stop immediately and the data of the device will no longer be available.

Usage Scenario: Typically, when a device is removed from your EMS platform, you need to actively call this interface to unbind the device from your API account. After unbinding, the device real-time data push will stop immediately and the device data will no longer be available.

✨ Example

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
}