Last Updated on : 2024-09-10 09:51:51
Modify the basic information about a specified home.
PUT: /v1.0/homes/{home_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
home_id | Long | uri | true | The ID of a home. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
name | String | body | true | The name of a home. |
geo_name | String | body | false | The geographical location of a home. |
lon | Double | body | false | The longitude of a home. |
lat | Double | body | false | The latitude of a home. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | true is returned when the operation is successful. |
PUT: PUT /v1.0/homes/319****
{ "geo_name": "Hangzhou Tuya Smart", "name": "My Home" "lat": 30.16, "lon": 120.5 }
{
"result": true,
"t": 1540616318050,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback