Last Updated on : 2023-06-21 07:13:04download
Edit the asset name and image information.
PUT: /v1.0/iot-03/assets/{asset_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The ID of a specified asset. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_name | String | false | The name of a specified asset, with no more than 40 characters. | |
parent_asset_id | String | false | The name of the parent asset, with no more than 40 characters. | |
asset_image | String | false | The image of a specified asset, with no more than 200 characters. | |
asset_type | String | false | The type of a specified asset. Valid values:
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. |
PUT: /v1.0/iot-03/assets/139716370579954****
{
"asset_name": "zichan022222",
"parent_asset_id": "",
"asset_image": "image00020123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789",
"asset_type": "building"
}
{
"result": true,
"t": 1624068789319,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback