Delete a device

Last Updated on : 2023-06-20 14:17:40download

Delete a specified device by the device ID.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueDevice ID

Return parameter

Parameter nameTypeDescription
resultBoolean

Request example

DELETE: /v1.0/iot-03/devices/xxxid

Return example

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

Error code

For more information, see error code.