Based on the unique ID of a door lock card, send a command of deleting the card to the lock, so that the card becomes invalid for the door lock.
DELETE: /v1.0/osaas/projects/{project_id}/card-issue-devices/lock-devices/{device_id}/cards/{lock_card_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| project_id | String | uri | true | The unique ID of a specified project. |
| device_id | String | uri | true | The unique ID of a specified device. |
| lock_card_id | String | uri | true | The unique ID of a specified card. |
| Parameter name | Type | Description |
|---|---|---|
| result | LockCardOperateResponse | The returned result of a specified card. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| operate_id | String | The unique ID of the operation. |
| operate_result | Boolean | The operation result. |
| lock_card_id | String | The unique ID of a specified card. |
DELETE: /v1.0/osaas/projects/150188910571223***/card-issue-devices/lock-devices/6c470253258246b99*****/cards/3245***
{
"tid": "aae3ead40e3a11ed818882d0e****",
"result": {
"lock_card_id": "3245***",
"operate_id": "1552534592777359***",
"operate_result": true
},
"t": 1658988066464,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback