Delete Room

Last Updated on : 2023-05-22 06:38:13download

You can delete the specified room in the family through this API.

API address

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

Request parameter

Parameter name Type IN Required Description
home_id Long uri true Family ID
room_id Long uri true Room ID

Return parameter

Parameter name Type Description
result Boolean Execution result:
  • true: Successful execution
  • false: Execution failed

Request example

DELETE: /v1.0/homes/312321/rooms/2341231
{}

Return example

true

Error code

For more information, see error code.