Request password reset

POST /auth/reset-password

Send a password reset token by email to the user. It uses a classic scheme where a token is sent by email.

application/json

Body Required

  • email string(email) Required

    User email address

Responses

  • 200

    Reset token sent

  • 400

    Email not listed in database

POST /auth/reset-password
curl \
 --request POST 'http://api.example.com/auth/reset-password' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"email":"admin@example.com"}'
Request examples
{
  "email": "admin@example.com"
}