I am wanting to do some cleanup in our environment and delete some old Sandbox courses of staff that has left the district. Rather than doing this 1 course at a time, I found a post that mentioned to assign a course_id to those non-sis courses, then change the status to deleted and reimport the file. I ran a provisioning report and found the courses I want to delete, then filled in the course_id column with an ID for each course. Did a SIS Import and everything looked great, but when I checked on the course using the Canvas Course_ID to make sure it assigned the course_id, I figured out that this actually duplicated the course. Now, there are two of them to get rid of - 1 with a course_id and 1 without.
I know there is an API that will help this, but I have no idea how to use APIs, so not really much help there. Is there anything I can do to the import file that would keep from duplicating the course and just add the course_id to the exsisting course?