Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

See Deleting a course for the Operations perspective.


You'd like to delete a course from your edX instance. How do you do it?

Step-by-step guide

  1. In the edx-platform directory:
      - cd /edx/app/edxapp/edx-platform
  2. Run the following Django management command:
       - sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms dump_course_ids --settings production
  3. Find the course ID which you'd like to delete in the resulting list of course IDs.
  4. 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 production
      - You'll be asked to verify the deletion.
  5. To verify the deletion, run the command from step 2 above and ensure that the course ID is not in the list.


  • No labels