set-name
Use this interface to set device name.
HTTP Request
GET http://ip/usapi?method=set-name&name=xxx
Parameter | Description |
---|---|
method | set-name |
name | The string of device name ranges from 1 to 32 characters, which contains 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. |