Last Updated on : 2023-06-19 07:05:56
Modify the device information, such as device name.
PUT: /v1.0/iot-03/devices/{device_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | Device ID |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
name | String | true | Device name |
Parameter name | Type | Description |
---|---|---|
result | Boolean |
PUT: /v1.0/iot-03/devices/xxxid
{
"name": "Bedroom bedside light"
}
{
"result": true,
"t": 1591872112140,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback