Last Updated on : 2023-06-15 04:50:09
Transfer the devices from the source asset to the target asset.
POST: /v1.0/iot-03/assets/devices/{device_id}/actions/transfer
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
source_asset_id | String | false | The ID of the source asset. | |
target_asset_id | String | false | The ID of the target asset. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
POST: /v1.0/iot-03/assets/devices/tuyadailydevazhoul088/actions/transfer
{
"source_asset_id": "1388049912456900608",
"target_asset_id": "1394196189162807296"
}
{
"result": true,
"t": 1624069713536,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback