IMPORTANT: Version 6.7 of Elasticsearch has passed its maintenance date.
This documentation is no longer being updated. For the latest information, see the current release documentation.
Changes the passwords of users in the native realm.
You can use the create user API to update everything
but a user’s
password. This API changes a user’s password.
- (string) The user whose password you want to change. If you do not specify this parameter, the password is changed for the current user.
Every user can change their own password. Users with the
privilege can change passwords of other users.