Want to completely clean out a course and its data from canvas

binodpanta
Community Member

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

 😞 

Labels (1)
0 Likes