UNPKG

@digitalpersona/enrollment

Version:
27 lines (15 loc) 781 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/enrollment](./enrollment.md) &gt; [SmartCardEnroll](./enrollment.smartcardenroll.md) &gt; [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.