Change applicants password

The /changePassword endpoint changes the applicants password.

By sending the following POST-request, you can change the password:

with TOKEN being a user access token. It is used to determine the validity of this request. That the changes take effect, the {oldPassword} has to be the current password in the database, which will be replaced by {newPassword} on success. Both passwords have to be first encoded md5 according to this method from org.apache.commons.codec.digest.DigestUtils and after that, additionally base64 encoded according to this method from org.apache.commons.codec.binary.Base64.

Path parameters

– none –

Query parameters

Name Description Data Type
op The old encoded applicant password in the database. String
np The new encoded password of the applicant. String

Response values

Upon Returned value Description
success boolean ‘true’ if the password was changed successfully, ‘false’ otherwise (e.g. old password was wrong).
failure 500 – INTERNAL SERVER ERROR When an error appears while processing your request.
authorization error 401 / 403 See here for details.

Comments

Comments are closed.