Delete Room

Last Updated on : 2023-06-20 15:35:48download

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.