Remove Device

Last Updated on : 2023-06-20 12:39:05

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 the specified Tuya-enabled device.

Return parameter

Parameter nameTypeDescription
resultBooleanThe response result.
codeBooleanThe response code. It is empty when the request succeeded.
msgStringThe message that is returned if the request fails. It is empty if the request is successful.
successBooleanIndicates whether the request 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.