You'd like to delete a course from your edX instance. How do you do it?
Step-by-step guide
- In the edx-platform directory:
- cd /edx/app/edxapp/edx-platform - Run the following Django management command:
- sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms dump_course_ids --settings aws - Find the course ID which you'd like to delete in the resulting list of course IDs.
- Copy the course ID into the following command and run it:
- sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp cms delete_course <COURSE_ID> --settings aws
- You'll be asked to verify the deletion. - To verify the deletion, run the command from step 2 above and ensure that the course ID is not in the list.