Last Updated on : 2024-09-10 09:54:41
Change the name of a channel for a multichannel device.
PUT: /v1.0/devices/{device_id}/multiple-name
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
name | String | body | true | Device name or dp name. |
identifier | String | body | true |
|
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
success | Boolean | Indicates whether the API is called successfully. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
PUT: /v1.0/devices/68688sdfdsfds889/multiple-name
{
"name": "test device",
"identifier": "main"
}
{
"tid": "f6444ebb7ddb11eea7ba0a96cea2****",
"result": true,
"t": 1699409417912,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback