Remove the associated video shop patrol equipment under the asset

Last Updated on : 2023-06-15 05:55:22

Release the patrolling business capabilities of the associated video shop patrolling equipment under the asset.

API address

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

Request parameter

Parameter name Type IN Required Description
asset_id String uri true Asset ID

Description of body

Parameter name Type IN Required Description
device_id String true Video shop patrol device ID
device_type Integer true Type of patrolling equipment
  • 2: Video patrolling

Return parameter

Parameter name Type Description
result Boolean Whether the remove association operation was successful

Request example

POST: /v1.0/iot-03/video-inspection/assets/142324705862568****/actions/device-unassign
{ "device_id": "vdevo16281640933****", "device_type": 2 }

Return example

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

Error code

For more information, see error code.