Deleting a course from Open edX

Most of you might be wondering how to delete a course from the Open edX once its created!

Recently we at Blend-ed also had this issue. We couldn’t find any buttons that helped us do this either from the Studio or the LMS.

While going through some of the documentations we had in the Overhang.io discussions, I came across a tutor command. But when tested, it didn’t work well but later realised that it was due to the new tutor commands

Thus we found out this command (olive and above):

tutor <local or k8s based on your deployment> exec cms ./manage.py cms --setting=tutor.production delete_course <course_id>

For versions before Olive

tutor <local or k8s> run cms ./manage.py cms --setting=tutor.production delete_course <course_id>

2 Likes