Auth

POST /password/reset

Reset a user's password using a valid token.

Request body

Required.

application/json

  • token string · required
  • email string (email) · required
  • password string · required
  • password_confirmation string · required
{
    "token": "abc123...",
    "email": "user@example.com",
    "password": "newpassword",
    "password_confirmation": "newpassword"
}

Responses

Status Description
200 Password has been reset
422 Invalid or expired token

Response 200 body

  • message string
{
    "message": "This is the message"
}