Delete devices in batches

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

Delete devices in batches by the device IDs. Multiple IDs are separated by a comma (,).

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
device_idsStringquerytrueThe IDs of the devices to be deleted. Multiple IDs are separated by a comma (,). Limit up to 20.

Return parameter

Parameter nameTypeDescription
resultBoolean

Request example

DELETE: /v1.0/iot-03/devices?device_ids=xxxid1,xxxxid2

Return example

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

Error code

For more information, see error code.