Cancel Enrolling in Unlocking Method

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

Cancel the specified unlocking methods enrolled in the current lock, including the unlocking methods with fingerprint, password, card, and remote control.

API address

PUT: /v1.0/devices/{device_id}/door-lock/unlock-types/{unlock_type}/actions/cancel

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.
unlock_type String uri true The type of the unlocking method. Valid values:
  • fingerprint: Unlock with fingerprint.
  • password: Unlock with password.
  • card: Unlock with card.
  • remoteControl: Unlock with remote control.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

PUT: /v1.0/devices/vdevo15345926009****/door-lock/unlock-types/card/actions/cancel

Return example

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

Error code

For more information, see error code.