Task delete added to API
Task delete for API tests