Last Updated on : 2023-12-07 03:33:51download
You can modify the name of the device through this API.
PUT: /v1.0/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 | Name |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Execution result:
|
PUT: /v1.0/devices/xxxid
{
"name": "bedroom bedside lamp"
}
true
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback