[ARCHIVED] Want to completely clean out a course and its data from canvas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2020
11:11 AM
I want to post a course via api but an existing course (via the same integration_id) gets in the way and fail it. However I have manually deleted the course using the ui in canvas.
so then canvas soft deletes and I can no longer test my code
is there a a way to completely clean the database of that course? Locally I was able to figure out how to do it via sql but I don't have sql access on the hosted canvas instance
I am able to use the api so an api method would also work if available, but I don't think the delete endpoint with the option https://canvas.instructure.com/doc/api/courses.html#method.courses.destroy does it either
😞
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.