This question is from 9 months ago and maybe it is solved right now. but I’ll send the answer to help other people who may have this question:
You have to install JWT plugin.
Then, you have to create Bearer Token by POSTing a username and password to this address:
https://example.com/wp-json/jwt-auth/v1/token
In postman, you have to insert your Bearer Token in Auth tab and change your password by posting this address:
http://example.com/wp-json/wp/v2/users/123?password=newpassword
(123 is the sample user id.)
Related Posts:
- REST API: wp_get_current_user not working on second call
- Replacing the WordPress password validation
- how to use joomla password format in wordpress?
- How to let user set password on registration
- Retrieve all users from wordpress database via REST/JSON API
- Best way to send users password?
- How can I get users email (and additional data) from the rest API?
- Basic auth WordPress REST API dilemma
- Setting WP Admin passwords to expire
- Migrating users from .com to .org?
- Authenticate user using Hashed Password in MySQL Query and C#
- Is it possible to get a user with just the password field?
- get_userdata by username
- Importing Existing Users with Passwords
- Cannot set user passwords
- How can I allow password reset based on logins containing the @ character?
- Show MD5 Password in user section
- Force user to change their password on first log in of site using shortcode
- Rest API code to get ID of current user not working: get_current_user_id() gives 0
- WordPress API for search
- Force user to change their password on the frontend at the first login and password policy
- Can i add password field into my wp registration form?
- Is there a way to identify a user in a custom REST API method? [duplicate]
- Reset Password policy
- How do I transfer user passwords from one WordPress site to another?
- How can I authenticate user credentials against a WordPress instance?
- Rest api return all users (even without content) to all users
- How do I protect user_activation_key?
- OAuth 2 and saving the authenticated user
- No user found when using REST API
- WordPress Password security related questions
- WordPress REST Api: update user
- Send clear password via mail
- How can i login with user’s password in WordPress being an admin?
- Force users to use password with specifications
- Making WordPress available while logged into another website
- Allow Weak Passwords
- User can’t search himself on rest api
- How to verify which WordPress user requested the API in ASP .NET Core?
- Need to use WordPress page as authentication for different service
- Custom Password Reset
- Is there a way to call via javascript if a user is logged-in on a static html file?
- Send user auto generated password on different email
- how to retrieve user via rest api using custom meta and/or email
- Getting user data via ajax
- Moving users from joomla to wordpress
- Get UserInfo from WordPress
- How can I display Only the first Array/Object?
- How to customize user rest api?
- The same session information for peer users on two different WordPress servers
- REST API list_user
- How to update a user with REST API v2 knowing only the username?
- wordpress Account Management generate password missing on my laptop
- WP users cant reset password
- Check for empty username or password on login
- REST_query_vars for users
- Users set passwords but cannot login
- Error when send reset password
- WordPress C# User Login
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- Why does a super admin on multi site get a rest_user_invalid_id error code when requesting user details through REST?
- Recognize logged WP user in existing REST API
- Can’t retrieve user email address with REST API
- application password is missing
- TYPO3 to WordPress Migration (Users)
- WordPress user password reset not working
- If the current user is an administrator or editor
- Editor can create any new user except administrator
- How do I add a field on the Users profile? For example, country, age etc
- How do I display logged-in username IF logged-in?
- How to allow an user role to create a new user under a role which lower than his level only?
- user_login vs. user_nicename
- How to programatically change username (user_login)?
- Change the Author Slug from Username to Nickname
- Remove Ability for Other Users to View Administrator in User List?
- Difference between update_user_meta and update_user_option
- Make display name unique
- Make WooCommerce pages accessible for logged in users only
- Find out if logged in user is not subscriber
- WordPress usermeta scaling for thousands of users
- How to get WordPress Username in Array format
- Display user registration date
- Get multiple roles with get_users
- get_user_meta() doesn’t include user email?
- Confirmation required on email change
- How to Merge Two Authors Into One?
- Whats the best way to share user data across multiple WordPress websites?
- get_current_user_id() returns 0?
- How to get userid at wp_logout action hook?
- Groups of capabilities: users with multiple roles?
- Is there a way to merge two users?
- User-edit role setting distinct from wp_capabilities? [closed]
- List users by last name in WP_User_Query
- What’s the difference between the capability remove_users and delete_users?
- How to restrict access to uploaded files?
- Automatically delete inactive users after 2 months
- How to change user_login with wp-cli?
- Delete all subscribers from wp_users and wp_usermeta a few thousand at a time
- Email user when password is reset by admin
- Ban a user and end their session