Flows::trash_flow()

Method: Trash the flow and it’s data.

Source -

admin-core/ajax/flows.php:700