Cancel Duress Alert

Last Updated on : 2023-12-07 03:34:01download

Cancel the duress alert function of the unlocking method specified by the user.

API address

DELETE: /v1.0/smart-lock/devices/{device_id}/unlock-types/{unlock_type}/keys/{unlock_sn}/hijack

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.
unlock_type String uri true The unlocking methods. Valid values:
  • unlock_fingerprint: Unlock with fingerprint.
  • unlock_card: Unlock with card.
  • unlock_password: Unlock with password.
  • unlock_face: Unlock with face recognition.
unlock_sn Integer uri true The serial number of an unlocking method in the lock.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

DELETE: /v1.0/smart-lock/devices/vdevo12454656****/unlock-types/unlock_fingerprint/keys/1/hijack

Return example

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

Error code

For more information, see error code.