> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: siteMembers.changePassword(newPassword: string, token: string) # Method Link: https://dev.wix.com/docs/sdk/frontend-modules/members/authentication/change-password.md # Method Description: Changes the member's password to a new one, using a reset token. __Important:__ This method is in Developer Preview and is subject to change. # Method Permissions: # Method Permissions Scopes IDs: undefined # Method Code Examples: ## Change the member's password using a reset token ```javascript import { authentication } from '@wix/site-members'; let newPassword = // get new password let token = // get token authentication .changePassword(newPassword, token) .then(() => { console.log('Password changed successfully'); }) .catch((error) => { console.error('Error changing password:', error); }); ```