WARNING: Version 5.1 of the Elastic Stack 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.
Change Password API
editChange Password API
editThe Change Password API enables you to submit a request to change the password
of a user. Every user can change their own password and users with the
manage_security
privilege can change passwords of other users.
To change the password of the logged in user, submit a POST request to the
_xpack/security/user/_password
endpoint:
POST _xpack/security/user/elastic/_password { "password": "changeme" }
A successful call returns an empty JSON structure.
{}