@digitalpersona/enrollment
Version:
DigitalPersona Enrollment API
27 lines (15 loc) • 781 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/enrollment](./enrollment.md) > [SmartCardEnroll](./enrollment.smartcardenroll.md) > [unenroll](./enrollment.smartcardenroll.unenroll.md)
## SmartCardEnroll.unenroll() method
Deletes a specific smart card enrollment defined by its pubilc key hash.
<b>Signature:</b>
```typescript
unenroll(keyHash?: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| keyHash | <code>string</code> | a key hash of the card. If not provided, all smartcard enrollments will be deleted. |
<b>Returns:</b>
`Promise<void>`
a promise to delete the enrollment or reject in case of an error.