Reset a password with an emailed code
post
https://api.expiryedge.com/v1/verifyCodeAndUpdatePasswordÖffentlich - kein API-Schlüssel10/15 min
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/verifyCodeAndUpdatePassword' \
-H "Content-Type: application/json" \
-d '{
"email": "sam.lee@northwinddental.com",
"code": "482915",
"password": "correct-horse-battery-staple"
}'Antwort
{
"message": "Password updated successfully."
}The code is single-use and invalidated after a limited number of wrong guesses. Unknown email, wrong, expired or locked code all return the same 400. Password must be 6-256 characters.
emailstringerforderlichformat: emailcodestringerforderlichpattern: ^[0-9]{6}$passwordstringerforderlichmin length: 6 · max length: 256
200
Password updated.
messagestringerforderlich
400 | The request is missing required fields or contains invalid values. |
405 | The endpoint does not accept this HTTP method. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Unexpected server error. Retry later; quote requestId to support. |
