-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Documentation - All
-
None
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Currently our /rest/api/2/password/policy/createUser and /rest/api/2/password/policy/updateUser sections don't have any example on how to actually use the call.
Please add what is expected from this call in the Expand section of this page.
update from support
I've managed to identify what these calls do, they still need official docs, but here is the information:
updateUser json
{ "username": "test", "newPassword": "a", "oldPassword": "c" }Replace username with the username you're updating, newpassword with your new password and old password with whatever your password was. It will then check it against your password policy and let you know if the password is acceptable.
createUser json
{ "username": "test", "password": "a", }Change username to whatever the new user's name will be, and set password to whatever you want to check.
This functionality does not work in JIRA Cloud, it only works on JIRA Server
- is duplicated by
-
JRASERVER-42186 REST API call /rest/api/2/password/policy/createUser and /rest/api/2/password/policy/updateUser has no documentation
-
- Closed
-
- relates to
-
JRACLOUD-41278 Update /rest/api/2/password/policy/createUser and /rest/api/2/password/policy/updateUser REST documentation
- Closed
- is incorporated by
-
JDEV-36213 Loading...