API endpoint for stopping the execution of tasks

Why are we removing this?