Modify the room name

Last Updated on : 2023-06-20 14:35:51download

Modify the name of a room in the family.

API address

PUT: /v1.0/homes/{home_id}/rooms/{room_id}

Request parameter

Parameter nameTypeINRequiredDescription
home_idLonguritrueFamily ID
room_idLonguritrueRoom ID

Description of body

Parameter nameTypeINRequiredDescription
nameString trueRoom Name

Return parameter

Parameter nameTypeDescription

Request example

PUT: /v1.0/homes/312321/rooms/2341231
  "name": "kitchen3"

Return example


Error code

For more information, see error code.