Package: react-wallet-kit
Overview
Removes the user’s email address.- This function removes the user’s email address by setting it to an empty string.
- If a userId is provided, it removes the email 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).
Parameters
Response
A successful response returns the following fields:A promise that resolves to the userId of the user whose email was removed.