POST /auth/reset-password

Reset Password will reset the password of the user

Headers

  • X-Popsell-Domain string Required

    The domain of the user

application/json

Body

  • email string Required
  • password string Required
  • token string Required

Responses

  • 200 application/json

    Return a message to confirm the password was reset

    Hide response attribute Show response attribute object
    • message string
  • 400 application/json

    Bad Request

    Hide response attribute Show response attribute object
    • message string
POST /auth/reset-password
curl \
 --request POST 'https://domain.tld/api/v2/auth/reset-password' \
 --header "Content-Type: application/json" \
 --header "X-Popsell-Domain: example.com" \
 --data '{"email":"string","password":"string","token":"string"}'
Request examples
# Headers
X-Popsell-Domain: example.com

# Payload
{
  "email": "string",
  "password": "string",
  "token": "string"
}
Response examples (200)
{
  "message": "Password defined successfully"
}
Response examples (400)
{
  "message": "Bad Request."
}