set-name
Use the interface to set device name.
HTTP Request
GET http://ip/usapi?method=set-name&name=xxx
Parameter | Description |
---|---|
method | set-name |
name | Indicates the string of device name ranges from 1 to 32 characters, which should contain A to Z, a to z, 0 to 9, spaces ._-+'[](), and cannot start or end with space. |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |