Reset password with token
Allow a user to change his password when he forgets it. It uses a token sent by email to the user to verify it is the user who requested the password reset.
PUT
/auth/reset-password
curl \
--request PUT 'http://api.example.com/auth/reset-password' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"email":"admin@example.com","token":"string","password":"string","password2":"string"}'
Request examples
{
"email": "admin@example.com",
"token": "string",
"password": "string",
"password2": "string"
}