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
- How to Merge Two Authors Into One?
- Whats the best way to share user data across multiple WordPress websites?
- User-edit role setting distinct from wp_capabilities? [closed]
- Hide Admin Menu for Specific User ID who has administrator Role
- Problem with Hebrew characters in username
- Display edit link if post author is current user
- Do not allow users to create new posts and pages
- Get user input from a form
- User fields that can be edited by administrator?
- Admins can’t edit each other’s posts
- Update user_login to change username
- Multiple authors with different “author roles”
- Exclude subscriber users from user list
- How can I check if a user’s email exists in the database
- Exclude admin from user list
- How to display total number of post done by user, it should display at authors page wordpress [duplicate]
- User capability for editing their own comments
- Allow Contributors to Upload Files
- How to get the count
- Get user first name from custom endpoint
- What is correct way to change user’s email?
- wp_dropdown_users() to include null value
- Change User Role based on Point System Issue
- Remove users access to dashboard
- Allow users to upload flash videos?
- How can I clone a suscriber profile in wordpress
- Migrate Users From laravel to wordpress
- Can you Recover a WordPress User from a Backup
- wp-admin/users.php Add a column with last name
- get_users – Sort by a different meta_value than search criteria
- How to prevent deleteting specific user?
- How to get the username for a custom link
- Restrict Access to the User Profile
- How to get only 1 role from user
- User agent stylesheet distorting site [closed]
- Set a minimal number for next user_id