Delete User

Last Updated on : 2023-12-07 03:33:51download

Delete the user information on the smart locks based on the device ID and user ID.

API address

POST: /v1.0/smart-lock/devices/{device_id}/users/{user_ids}/actions/delete-users-issue

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.
user_ids String uri true The list of user IDs, separated with commas (,).

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

POST: /v1.0/smart-lock/devices/6c982a30639b8f6338****/users/36731***/actions/delete-users-issue

Return example

{ "result": true, "t": 1624854038740, "success": true }

Error code

For more information, see error code.