Delete Relationship Between Resident and House

Last Updated on : 2023-06-15 06:06:13

Delete the relationship between a resident and a house according to the specified relation ID.

API address

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

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

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

Return example

true

Error code

For more information, see error code.