Package: react-wallet-kit
Defined in: react-wallet-kit/src/providers/client/Types.tsx:717
Overview
Handles the removal of a user’s email address from their Turnkey account.
- This function opens a modal with the RemoveUserEmail component, allowing the user to confirm and remove their email address.
Parameters
parameter to specify the stamper to use for the removal (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
params.successPageDuration
duration (in ms) for the success page after removal (default: 0, no success page).
The user ID to remove the email for (defaults to current session’s userId).
Response
A successful response returns the following fields: