1
0
Ioannis Kakavas 7 жил өмнө
parent
commit
1d049cadbe

+ 4 - 4
docs/java-rest/high-level/security/change-password.asciidoc

@@ -1,7 +1,7 @@
-[[java-rest-high-security-put-user]]
-=== Change Password User API
+[[java-rest-high-security-change-password]]
+=== Change Password API
 
-[[java-rest-high-security-put-user-execution]]
+[[java-rest-high-security-change-password-execution]]
 ==== Execution
 
 A user's password can be changed using the `security().changePassword()`
@@ -18,7 +18,7 @@ include-tagged::{doc-tests}/SecurityDocumentationIT.java[change-password-execute
 The returned `EmptyResponse` does not contain any fields. The return of this
 response indicates a successful request.
 
-[[java-rest-high-x-pack-security-put-user-async]]
+[[java-rest-high-x-pack-security-change-password-async]]
 ==== Asynchronous Execution
 
 This request can be executed asynchronously:

+ 2 - 10
docs/java-rest/high-level/supported-apis.asciidoc

@@ -295,10 +295,12 @@ The Java High Level REST Client supports the following Security APIs:
 * <<java-rest-high-security-put-user>>
 * <<java-rest-high-security-enable-user>>
 * <<java-rest-high-security-disable-user>>
+* <<java-rest-high-security-change-password>>
 
 include::security/put-user.asciidoc[]
 include::security/enable-user.asciidoc[]
 include::security/disable-user.asciidoc[]
+include::security/change-password.asciidoc[]
 
 == Watcher APIs
 
@@ -310,16 +312,6 @@ The Java High Level REST Client supports the following Watcher APIs:
 include::watcher/put-watch.asciidoc[]
 include::watcher/delete-watch.asciidoc[]
 
-== Security APIs
-
-The Java High Level REST Client supports the following Security APIs:
-
-* <<java-rest-high-x-pack-security-put-user>>
-* <<java-rest-high-change-password-user>>
-
-include::x-pack/security/put-user.asciidoc[]
-include::security/change-password.asciidoc[]
-
 == Graph APIs
 
 The Java High Level REST Client supports the following Graph APIs: