Delete IC card
https://api.sciener.com/v3/identityCard/delete
Call this api after you calling the SDK method to delete an IC card
1. Description
| Name |
Type |
Required |
Description |
| clientId |
String |
Y |
The app_id which is assigned by system when you create an application |
| accessToken |
String |
Y |
Access token |
| lockId |
Int |
Y |
Lock ID |
| cardId |
Int |
Y |
IC card id |
| deleteType |
Int |
N |
Delete type:1-delete with App via Bluetooth;2-delete via WiFi gateway, 3-via NB-IoT. The default value is 1. If it is 1, you should delete via bluetooth first. If it is 2, you can call this api to delete it directly. |
| date |
Long |
Y |
Current time (timestamp in millisecond) |
2.Response
| Parameter |
Type |
Description |
| errcode |
Int |
Error code |
| errmsg |
String |
Error message |
3.Example of response
{
"errcode": 0,
"errmsg": "none error message",
"description": "none error message or means yes"
}