User
Send a password reset OTP to an existing user. Wait at least 60 seconds between successive calls
Query Parameters
origin?string
The mail configuration which should be used to send the email
Length
length <= 256language?string
The language which should be used for sending the email
Length
2 <= length <= 2Request Body
application/json
The email address to send the password reset link to
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://authentication.eniris.be/user/password/reset/send" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'null{
"statusCode": 400,
"error": "Bad Request",
"message": "Password must contain at least one uppercase character"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "FORBIDDEN_MAIL_PROVIDER"
}{
"statusCode": 429,
"retryAfter": 0,
"error": "Too many requests",
"message": "TOO_MANY_RESET_MAIL_ATTEMPTS"
}{
"statusCode": 500,
"error": "Internal server error",
"message": "UNABLE_TO_FIND_MAIL_TEMPLATE"
}