You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-source/spring/content/security/azn-server/_index.md
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,13 +64,14 @@ The following REST Endpoints are available to manage users. The table lists whic
64
64
| /user/api/v1/findUser | GET | Find all users | ROLE_ADMIN |
65
65
| /user/api/v1/findUser?username=\<username\>| GET | Find a user with the username \<username\>| ROLE_ADMIN |
66
66
| /user/api/v1/createUser | POST | Create a user | ROLE_ADMIN |
67
-
| /user/api/v1/updatePassword | PUT | Update a password for a user. A user with<br>Role ROLE_ADMIN can update any users password | ROLE_USER |
67
+
| /user/api/v1/updatePassword | PUT | Update a password for a user. A user with Role ROLE_ADMIN can update any users password | ROLE_USER |
68
+
| /user/api/v1/changeRole | PUT | Change role(s) for a user | ROLE_ADMIN |
68
69
| /user/api/v1/deleteUsername?username=\<username\>| DELETE | Delete a user with username \<username\>| ROLE_ADMIN |
69
70
| /user/api/v1/deleteId?id=\<id\>| DELETE | Delete a user with the id \<id\>| ROLE_ADMIN |
70
71
71
72
### User Management REST Endpoints
72
73
73
-
In all examples below you need to replace `<username>:<password>` with your username and password. The examples are using `curl` to interact with the REST endpoints. They also requires that you have opened a tunnel on port 8080 to either the `azn-server` or `obaas-admin` service. For example
74
+
In all examples below you need to replace `<username>:<password>` with your username and password. The examples are using `curl` to interact with the REST endpoints. They also requires that you have opened a tunnel on port 8080 to either the `azn-server` or `obaas-admin` service. For example, this command opens a tunnel to the `obaas-admin` service.
0 commit comments