Skip to content

Reset Password

Request

Change the user's password using the verification code sent to the user's email address.

Errors

Error CodeError TypeError Message
-1004ALREADY-LOGGED-INYou are already logged in
-1033MISSING-VERIFICATION-CODEVerification Code field missing
-1034ERR_INVALID_VERIFICATIONInvalid Verification Code
-1006MISSING-PASSWORDpassword field missing
-1027ERR_PASSWORD_SAMEPassword must be different from current password
-1024ERR_PASSWORD_HISTORYPlease provide a password that has not been used already
-1025ERR_PASSWORD_8Password must be at least 8 characters and include at least 1 UPPERCASE, 1 lowercase and 1 number
-1026ERR_PASSWORD_ULNPassword must be at least 8 characters and include at least 1 UPPERCASE, 1 lowercase and 1 number
-1032ERR_RESET_PASSWORDWe have experienced some technical difficulties resetting your password. Please contact support@avanser.com
Query
verification_codestringrequired

The verification code sent to the user's email address.

passwordstringrequired

The new password for the user.

curl -i -X POST \
  'https://p3.avanser.com/app/resetpassword?verification_code=string&password=string'

Responses

Password reset.

Bodyapplication/json
timestampintegerrequired

The time that the API response left the server, represented as the number of seconds since the UNIX epoch.

Example:1508903167
exectionnumber

The number of seconds that it took to process the API request.

Example:0.00041531896591187
errorbooleanrequired

Boolean indicating whether there was an error returned by the API request.

Example:false
datastringrequired

The data returned by the API. The format varies depending on the API function that was called.

Response
{ "timestamp": 1508903167, "exection": 0.00041531896591187, "error": false, "data": "OK" }