We are importing courses and instructors information from our SIS system(Colleague), we are having issue on canvas with previous semester courses and instructors data. Let's say if courseA was taught by instructor1 in previous semester, and the same course is taken by instructor2 in current semester. On canvas instructor1, instructor2 are showing up as active for courseA. From instructor1 profile courseA is still showing as active.
I want to fix this error using APIs, not sure if canvas has any. Also would like to know if there is any workaround while importing the information from SIS.