Skip to main content
POST
/
api
/
auth
/
generateResetCode
Generate password reset code
curl --request POST \
  --url https://pria.praxislxp.com/api/auth/generateResetCode \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "john.doe@domain.com"
}
'
{
  "success": true,
  "message": "Reset code sent to email"
}

Body

application/json
email
string<email>
required

Email address of the user

Example:

"john.doe@domain.com"

Response

Reset code generated and sent successfully

success
boolean
Example:

true

message
string
Example:

"Reset code sent to email"