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).

Package: core

Defined in: core.ts:2635

Parameters

params
object

Response

A successful response returns the following fields:
returns
string
required
A promise that resolves to the userId of the user whose phone number was removed.