WARNING: Version 6.1 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
The Change Password API enables you to submit a request to change the password of a user.
- (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.