Usually, the cabildo made local laws and reported to the presidente (president) of the audiencia, who in turn reported to the viceroy.
Typically, the regional assembly created local rules and informed the head of the judicial council, who subsequently reported to the high-ranking official.