Unlink Inspection Devices

Last Updated on : 2023-06-21 07:12:54download

Unlink the inspection capability from an inspection device under a specified asset.

API address

POST: /v1.0/iot-03/store-inspection/assets/{asset_id}/actions/device-unassign

Request parameter

Parameter nameTypeINRequiredDescription
asset_idStringuritrueThe ID of a specified asset.

Description of body

Parameter nameTypeINRequiredDescription
device_idString trueThe ID of a specified inspection device.
device_typeInteger trueThe type of a specified inspection device. Set the value to 1 to represent AI inspection.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful.

Request example

POST: /v1.0/iot-03/store-inspection/assets/142324705862568****/actions/device-unassign
  "device_id": "vdevo16281640933****",
  "device_type": 1

Return example

    "result": true,
    "t": 1628164470304,
    "success": true

Error code

For more information, see error code.