Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1) Change Password :

This API is useful when user wants to change the password.

Api :

Method
URL
PUTcatissuecore/rest/ng/users/{userId}/password?type=change
Requestapplication/json
json{"oldPassword":"Login123","newPassword":"Login1234"}

Response

"success"
 
2)

Set Password :

This API is useful when user redirects through forgot password link or new user sets the password through email.

Api :

Method
URL
PUTcatissuecore/rest/ng/users/{userId}/password?token={token}
Requestapplication/json
json{"newPassword":"Login1234"}

Response

"success"


Error Cases :

code
Applies to
Status Message
200All resources 
201All POST/PUT requestsResource created/updated successfully
400All requestsInvalid parameters, this will also includes application specific error messages
401All requestsAuthorization failed
404All requestsResource not found, also includes specified resource id/name/title
500All requestsInternal server error