A statement by the rebel-run Interior Minister said that at least 11 men from the security forces were arrested because of the incident, along with a number of senior officials who will be tried before the court.
The migrant community in Sanaa called for an international investigation into the tragedy, a demand supported by international human rights groups.
About 900 migrants, most of them from Ethiopia, were held in the facility – including more than 350 inside the barn. The site was run by the Passports and Nationality Authority.
The rebels said at least 45 people were killed on March 7, including one who died of his wounds on Friday. More than 200 others were injured.
Migrants were protesting and went on hunger strike to protest against alleged abuse and mistreatment at the detention center, according to survivors and local human rights activists.
On Saturday, the rebels claimed the migrants were protesting to pressure the International Organization for Migration to transfer them.
Despite the six-year civil war, Yemen remains a transit point for tens of thousands of African migrants desperate to find jobs such as housekeepers, servants and construction workers in Saudi Arabia.
Copyright 2021 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed without permission.