Skip to content

Commit

Permalink
REST docu update, changed PWD reset to pwd reset by admininstrator
Browse files Browse the repository at this point in the history
  • Loading branch information
matusmacik committed Feb 28, 2024
1 parent 9add2c8 commit 7eeeb59
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions docs/interfaces/rest/endpoints/rpc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ include::../operations/examples/raw/validate-value-rpc.adoc[]

- xref:/midpoint/reference/interfaces/rest/operations/generate-and-validate-op-rest.adoc[Generate and Validate value Operation]


== Common Use-case Examples

1.
== JSON Example

.Show JSON Example
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/rest/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ xref:/midpoint/reference/interfaces/midpoint-client-java/[MidPoint Client Librar
1. xref:/midpoint/reference/interfaces/rest/operations/examples/search-objects-filter.adoc[List all users with their profile information.]
2. xref:/midpoint/reference/interfaces/rest/operations/examples/get-user-unique-id.adoc[Get User with the REST API]
3. xref:/midpoint/reference/interfaces/rest/operations/examples/create-user.adoc[Create User with the REST API]
4. xref:/midpoint/reference/interfaces/rest/operations/examples/user-pwd-reset.adoc[Password Reset]
4. xref:/midpoint/reference/interfaces/rest/operations/examples/user-pwd-reset.adoc[Password Reset by Administrator]

== See Also

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:page-visibility: hidden

.Execute password reset for user
.Execute password reset by administrator for user
Please see note:

[NOTE]
Expand All @@ -16,7 +16,7 @@ page.
curl --user administrator:y0uR_P455woR*d -H "Accept: application/json" -H "Content-Type: application/json" -X POST http://localhost:8080/midpoint/ws/rest/users/e297a878-89da-43fa-b67a-d0316975388a/credential --data-binary @pathToMidpointGit\samples\rest\user-pwd-reset.json
----

.*Show* data source example for *"Execute password reset for user"* | link:https://raw.githubusercontent.com/Evolveum/midpoint-samples/master/samples/rest/user-pwd-reset.json[GitHub]
.*Show* data source example for *"Execute password reset by administrator for user"* | link:https://raw.githubusercontent.com/Evolveum/midpoint-samples/master/samples/rest/user-pwd-reset.json[GitHub]
[%collapsible]
====
[source, json]
Expand All @@ -31,7 +31,7 @@ curl --user administrator:y0uR_P455woR*d -H "Accept: application/json" -H "Conte
====
The response is an HTTP 200 code in case of success with a response body.
.*Show* example output for *"Execute password reset for user"*
.*Show* example output for *"Execute password reset by administrator for user"*
[%collapsible]
====
[source, json]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Password Reset Issued by REST request
= Password Reset By Administrator Issued As A REST Request
:page-nav-title: REST Password Reset
:page-display-order: 600
:page-toc: top
Expand Down

0 comments on commit 7eeeb59

Please sign in to comment.