Remove Relation Between Resident and House

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

After the relation between a resident and a house is removed, the residentis no longer associated with the house, including the facilities in the house, such as access control devices.

API address

PUT: /v1.0/iot-02/community/room-user/{block_id}/{room_user_id}/move-out

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringuritrueThe ID of a community.
room_user_idStringuritrueThe ID of the relationship between a resident and a house.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful.

Request example

PUT: /v1.0/iot-02/community/room-user/136767399153950xxxx/136767399123950xxxx/move-out

Return example

true

Error code

For more information, see error code.