updateHumanPhone method

ResponseFuture<UpdateHumanPhoneResponse> updateHumanPhone(
  1. UpdateHumanPhoneRequest request, {
  2. CallOptions? options,
})

Update User Phone (Human)

Deprecated: use user service v2 UpdateUser instead.

Change the phone number of a user. If the state is set to not verified, the user will get an SMS to verify (if a notification provider is configured). The phone number is only for informational purposes and to send messages, not for Authentication (2FA).

Implementation

$grpc.ResponseFuture<$0.UpdateHumanPhoneResponse> updateHumanPhone(
  $0.UpdateHumanPhoneRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$updateHumanPhone, request, options: options);
}