English
English
简体中文
Contact Us
Register
Log In

Remove Device

Last Updated on : 2022-05-05 10:00:47

Remove the device information based on the device ID.

API address

DELETE: /v1.0/iot-03/3rdcloud/devices/{device_id}/remove

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe ID of a Tuya device.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.
codeBooleanThe response code. It is empty when the operation succeeded.
msgStringThe error message if the API call fails. It is empty if the operation succeeded.
successBooleanIndicates whether the operation is successful. Valid values:
  • true: success.
  • false: failure.
tLongThe 13-digit timestamp of a response.

Request example

DELETE: /v1.0/iot-03/3rdcloud/devices/6cf4171005d11e2ca7****/remove

Return example

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

Error code

For more information, see error code.