Update /rest/api/2/password/policy/createUser and /rest/api/2/password/policy/updateUser REST documentation

XMLWordPrintable

      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

            Assignee:
            Andrew
            Reporter:
            Marcus Silveira
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: