Dunga had taken over in 2006 and led them to the Copa America in 2007 and the Confederations Cup last year.
“We are all responsible for this situation but I have the greatest responsibility,” said the 46-year-old.
“I was contracted for four years and we knew that from the start.