- 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.
Package: core
Defined in: clients/core.ts:4039
A promise that resolves to an array of authenticator IDs that were removed.