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.

Path parameters

– none –

Query parameters

– none –

Post parameters

Name Description Data Type
op The applicant’s old/current password. String
np The new 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.