User
Change a user password, authenticating by providing an OTP
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://authentication.eniris.be/user/password/otp" \ -H "Content-Type: application/json" \ -d '{ "userEmail": "user@example.com", "otp": "string", "newPassword": "stringst" }'null{
"statusCode": 400,
"error": "Bad Request",
"message": "Password must contain at least one uppercase character"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "OTP_INVALID_EXPIRED"
}