"She underwent a radical hysterectomy today," her rep, Howard Bragman, tells PEOPLE. "The surgery went well and she is expected to make a complete recovery following a significant recuperation period."
The former Real Housewives of Beverly Hills star, 45, who has two children via surrogate with her ex-husband, former Frasier star Kelsey Grammer, was at an elevated risk for cancer due to genetic issues, her rep says.
"[She] has been diligent about regular checkups and monitoring, which explains the early detection and rapid treatment," says Bragman.
He adds: "Ms. Grammer expresses gratitude to all the amazing health care professionals who have taken such loving and nurturing care of her. She urges all women to be aware of genetic factors relating to women's cancers and get regular checkups."
Endometrial cancer, which affects the lining of the uterus, is the most common cancer of the female reproductive system, Health.com reports, with 49,600 cases occurring each year in the US. It's not known what causes it, and there is no reliable screening system to detect the disease but risk factors include hormone imbalance, high blood pressure and diabetes.