API Referenceauth
Confirm password reset
Complete the password reset process by providing the reset code and new password.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X post "http://localhost:8000/api/v1/auth/password-reset/confirm" \ -H "Content-Type: application/json" \ -d '{ "code": "rst456abc", "idp_user_id": "274938572048", "new_password": "NewSecureP@ss1!" }'{
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"idp_user_id": "string",
"reset": true,
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
