I am in the process of cleaning up my Canvas Training courses. Some of them go back almost 2 years and most of the teachers can't even access them because of the date restrictions. Is there anyway to do a mass delete for this course? Some were set up with a manual term and I'm not really worried about those. But I have some going back to the beginning of fall 2016 and none of the teachers in those courses are using them. If I have to delete them one by one, ugh, I will, but is there a way to do a mass delete? Any help would be appreciated!!!
@mhinojosa , I'm not sure of the answer to this question, but I'm going to share it with the https://community.canvaslms.com/groups/canvas-developers?sr=search&searchId=3ddd5fdd-87be-4506-bfc1-... group in the Community to see if they can help!
@mhinojosa , the api to delete/conclude a course is this one(Courses - Canvas LMS REST API Documentation ). You may use Postman (Postman | Supercharge your API workflow ) to quickly test the course deletion on Beta or Test server. Once you are familiar with the api and Postman, then you could follow this instruction (Running a collection ) for batch delete courses.
Another approach is to run a provisioning report for the subaccount the courses are in, edit the resulting CSV file and change the status of the relevant courses to 'deleted', tweak the columns to match the SIS import format, and run an SIS import on the file.
We are giving the Canvas Admins area a little bit of love (especially questions that are really, really old) and just want to check in with you. This will also bring this question new attention.
Were you able to find an answer to your question? I am going to go ahead and mark this question as answered because there hasn't been any more activity in a while so I assume that you have the information that you need. If you still have a question about this or if you have information that you would like to share with the community, by all means, please do come back and leave a comment. Also, if this question has been answered by one of the previous replies, please feel free to mark that answer as correct.