Reset Password

When a user has registered an account, they may reset their password if it has been forgotten. A POST request is sent to the endpoint with the user’s email address.

Screenshots

Password reset

Password reset

API

Password reset

Request

curl -X 'POST' \
  'https://st.igate-test.co.uk/api/v1/auth/password/reset/' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "sterling@sterling.com"
}'

Response

  • Type: 200 OK

{
  "detail": "Password reset e-mail has been sent."
}