Change passwords | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Path parameters
- The user whose password you want to change. If you do not specify this parameter, the password is changed for the current user.
Query parameters
- If
true
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.
Values aretrue
,false
, orwait_for
.
application/json
Body Required
- A hash of the new password value. This must be produced using the same hashing algorithm as has been configured for password storage. For more details, see the explanation of the
xpack.security.authc.password_hashing.algorithm
setting.