@@ -153,10 +153,11 @@ export class Account extends Service {
153153 /**
154154 * Update Account Phone
155155 *
156- * Update currently logged in user account phone number. After changing phone
157- * number, the user confirmation status will get reset. A new confirmation SMS
158- * is not sent automatically however you can use the phone confirmation
159- * endpoint again to send the confirmation SMS.
156+ * Update the currently logged in user's phone number. After updating the
157+ * phone number, the phone verification status will be reset. A confirmation
158+ * SMS is not sent automatically, however you can use the [POST
159+ * /account/verification/phone](/docs/client/account#accountCreatePhoneVerification)
160+ * endpoint to send a confirmation SMS.
160161 *
161162 * @param {string } number
162163 * @param {string } password
@@ -519,13 +520,12 @@ export class Account extends Service {
519520 /**
520521 * Create Phone Verification
521522 *
522- * Use this endpoint to send a verification message to your user's phone
523- * number to confirm they are the valid owners of that address. The provided
524- * secret should allow you to complete the verification process by verifying
525- * both the **userId** and **secret** parameters. Learn more about how to
526- * [complete the verification
523+ * Use this endpoint to send a verification SMS to the currently logged in
524+ * user. This endpoint is meant for use after updating a user's phone number
525+ * using the [accountUpdatePhone](/docs/client/account#accountUpdatePhone)
526+ * endpoint. Learn more about how to [complete the verification
527527 * process](/docs/client/account#accountUpdatePhoneVerification). The
528- * verification link sent to the user's phone number is valid for 15 minutes.
528+ * verification code sent to the user's phone number is valid for 15 minutes.
529529 *
530530 * @throws {AppwriteException }
531531 * @returns {Promise }
0 commit comments