How is it possible to remove a level from the current scene through a Python script?

Hi, I’m working on a Python script that interacts with the Unreal Editor. I know how to add a level which is like:
unreal.EditorLevelUtils.add_level_to_world(world, level_to_add, level_streaming_class)
but I am struggling to find a way to remove a level from the current scene instead (unreal.EditorLevelUtils.remove_level_from_world does not exist)
Can anyone help, please?