Package: react-wallet-kit
Overview
Removes the user’s phone number.- This function removes the user’s phone number by setting it to an empty string.
- If a userId is provided, it removes the phone number 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 phone number was removed.