Delete Device Type

Last Updated on : 2023-06-15 06:01:53

Delete a specified device type. If the device type is used in a device ledger, device list, and maintenance plan, you are not allowed to disable or delete it.

API address

DELETE: /v1.1/iot-03/si/device-type/{device_type_code}

Request parameter

Parameter nameTypeINRequiredDescription
device_type_codeStringuritrueThe code of a specified device type.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

DELETE: /v1.1/iot-03/si/device-type/type1

Return example

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

Error code

For more information, see error code.