English
English
简体中文
Contact Us
Register
Log In

Delete Room

Last Updated on : 2022-04-29 05:35:15download

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.