Skip to main content
Module

x/appwrite/mod.ts>Account#updatePhone

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Account.prototype.updatePhone
Re-export
import { Account } from "https://deno.land/x/appwrite@10.0.0/mod.ts";

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

Parameters

phone: string
password: string