Delete and list tasks using api