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 | Device name ranging from 1 to 32 characters, which can consist of 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. |