password-reset token (previously emailed via POST /password-resets) and sets a new password for the identity it belongs to. The token is marked as used as part of this call, so it cannot be replayed. As a security measure, every active session belonging to the identity is terminated immediately after the password is changed, forcing re-authentication everywhere. This endpoint is intentionally unauthenticated — the token itself proves the caller controls the associated email inbox.curl --location --request PATCH '/password-resets' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef1234",
"new_password": "n3wSecureP@ssw0rd!"
}'{
"message": "Request successful",
"status": "success",
"data": {
"success": true
}
}