Removing algorithms and hypothesis in mesh

Hello,
some time ago I got the answer to this but could not find it again in my posts. I want to create a mesh → get some information of it → delete it (and delete all things related to it in python)

When creating the mesh, i am using 3 different algorithms, for example: Regular_1D = Mesh_1.Segment(geom=groupEdges)
this will create in the object tree two different things,

  • hyptohesis, the object: ‘NumberOfSegments=10,[],0:1:1:5
  • Algorithms, the object: ‘Regular_1D_2

the mesh, i succesfully remove it using:
smesh.RemoveMesh(Mesh_1)
but for the hypothesis and algorithms objects I could not find any way to remove them, what i tried was:
Mesh_1.RemoveHypothesis(Regular_1D,geom=groupEdges)
Mesh_1.RemoveGlobalHypotheses()

how can I delete this objects?

thanks in advance.