How to remove all boundaries in PyAEDT?

How can I remove all boundary conditions with PyAEDT script? In AEDT GUI, I can right click on the "Thermal" in the "Project Manager" panel and select "Delete All" in the context menu. All boundary conditions is then removed in a second. Is there a function in PyAEDT?