Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/account.ts>Account#updatePhone

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Account.prototype.updatePhone
import { Account } from "https://deno.land/x/appwrite@6.0.0-RC1/src/services/account.ts";

Update Account Phone

Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the POST /account/verification/phone endpoint to send a confirmation SMS.

Type Parameters

Preferences extends Models.Preferences

Parameters

phone: string
password: string

Returns

Promise<Models.Account<Preferences>>