Delete Child entities if parent record deleted using end point.

How can I delete child entities using end point ,  If I delete parent record (via end point ) in sugarcrm?

delete child parent endpoints