I want to conclude a bunch of courses and while it is possible to do this via a SIS file I would like to do it via the api. Is this possible?
Yes, it is possible:
Courses - Canvas LMS REST API Documentation
Delete or conclude an existing course
Ah it is separate from the other settings. Thank you.
Retrieving data ...