https://api.sciener.com/v3/fingerprint/delete
Delete a fingerprint from the lock,there are two methods to do it:
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.
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) .
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxxcurl --location -g --request POST 'https://api.sciener.com/v3/fingerprint/delete' \--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \--data-urlencode 'lockId=163377' \--data-urlencode 'fingerprintId=224242' \--data-urlencode 'deleteType=2' \--data-urlencode 'date=1625025703000'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | client_id from Create application |
| accessToken | String | Y | Access token,refer to: Get access token |
| lockId | Int | Y | Lock ID, generated by Lock init |
| fingerprintId | Int | Y | Fingerprint ID,get from cloud API:Add fingerprint |
| deleteType | Int | Y | Method: 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. |
| date | Long | Y | Current time (timestamp in millisecond) |
| Parameter | Type | Description |
|---|---|---|
| errcode | Int | Error code |
| errmsg | String | Error message |
xxxxxxxxxx{"errcode": 0,"errmsg": "none error message"}