Package: react-wallet-kit
Overview
Removes passkeys (authenticator) from the user.- This function removes passkeys (WebAuthn/FIDO2 authenticators) from the user’s account.
- If a userId is provided, it removes the passkeys for that specific user; otherwise, it uses the current session’s userId.
- Automatically ensures an active session exists before making the request.
- Optionally allows stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
- Returns an array of remaining authenticator IDs for the user after removal.
Parameters
Response
A successful response returns the following fields:A promise that resolves to an array of authenticator IDs that were removed.