API Course & Section delete?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2019
01:31 PM
If I delete a course via the API, is there any reason do delete any sections related to it as well? Thanks.
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2019
02:05 PM
There shouldn't be, once you delete a course if you try to run an API call on a section in that course, it won't be found. However, if you restore a course, everything in the course including those sections will come back, just without enrollments. Do you have a specific concern about sections in deleted courses? The only issue I run into are that SIS IDs are the primary key so whether a course is active or deleted, once a SIS ID is used, it can't be used again.