Delete fingerprint

https://api.sciener.com/v3/fingerprint/delete

Delete a fingerprint from the lock,there are two methods to do it:

(1)Delete by APP nearby the lock via bluetooth:

You can develop your own APP based on our APP SDK,call Delete fingerprint method to delete the card from the lock,then request this API ( with deleteType=1) to delete it from the cloud.

(2)Delete by cloud API via gateway or WiFi lock

If the lock is WiFi lock or it's connected to a gateway, you can delete the fingerprint remotely,just request this API ( with deleteType=2) .

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYclient_id from Create application
accessTokenStringYAccess token,refer to: Get access token
lockIdIntYLock ID, generated by Lock init
fingerprintIdIntYFingerprint ID,get from cloud API:Add fingerprint
deleteTypeIntYMethod:
1-delete with App via Bluetooth, you should delete via bluetooth first
2-delete via gateway or WiFi lock, you can call this api directly if it's a WiFi lock or it's connected to gateway.
The default value is 1.
dateLongYCurrent time (timestamp in millisecond)

3 Response and example

ParameterTypeDescription
errcodeIntError code
errmsgStringError message