English
English
简体中文
Contact Us
Register
Log In

Remove Relation Between Resident and House

Last Updated on : 2022-09-22 09:34:05download

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.