Delete House

Last Updated on : 2023-06-21 07:13:11download

Delete a specified house by the space ID of the house node. A response will be returned to indicate whether the operation is successful. Before you delete a house, confirm that all resident accounts have been transferred out of the house.

API address

DELETE: /v1.0/iot-02/community/room/{block_id}/{tree_id}

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringuritrueThe ID of a community.
tree_idStringuritrueThe space ID of a specified house node.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful.

Request example

DELETE: /v1.0/iot-02/community/room/136767399153950xxxx/136767399123950xxxx

Return example


Error code

For more information, see error code.