Delete Room

Last Updated on : 2023-06-15 04:52:39

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 nameTypeINRequiredDescription
home_idLonguritrueFamily ID
room_idLonguritrueRoom ID

Return parameter

Parameter nameTypeDescription
resultBooleanExecution 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.