Recommended: JavaScript SDK with React Hooks
For new React apps, we recommend the JavaScript SDK with React Hooks (
@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.Summary
This hook provides a way for developers to delete a passkey for an authenticated user. The hook needs to be initialized within a child of DynamicContextProvider.If passkey MFA is enabled, the user will need to authenticate with MFA before deleting a passkey.
Usage
Available methods:deletePasskey: Delete a passkey for the authenticated user.