English
English
简体中文
Contact Us
Register
Log In

Clear Remaining Battery Capacity

Last Updated on : 2021-12-11 08:10:21download

Clear the remaining battery capacity of a specified electrical device based on the device ID.

API address

POST: /v1.0/iot-03/power-devices/{device_id}/clear-charge

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.

Return parameter

Parameter name Type Description
result Boolean
  • true: Cleared the data successfully.
  • false: Failed to clear the data.

Request example

POST: /v1.0/iot-03/power-devices/6c814919a3f54fb4eb****/clear-charge

Return example

{ "result": true, "t": 1637834545489, "success": true }

Error code

For more information, see error code.