Forgot Password

Forgot Password API

POST

With a POST request to 

/auth/forgot_password/ 

containing the following as data

username: The users email

If everything goes well with the API will return

  • a status code of 202

Furthermore an email will be sent to the users email with a code that needs to be sent back to the backend via a PUT request to complete the procedure

PUT

With a PUT request to 

/auth/forgot_password/ 

containing the following as data

username: The users email
password: The new password for the user
code: The confirmation code sent to the email

If everything goes well with the API will return

  • a status code of 204

Errors

Error Code 500

This error is used for general errors on our backend, if this occurs contact Arboair with the code, time of API request and (if given) the error reason as well

Error Code 400

This error describes an error with Cognito and will contain the reason in the response data. 

Some possible reasons are Too many attempt to log in, wrong password, etc.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us