myschool.lymyschoolHelp Center
Help Center

I can't delete a course: "Unable to delete class/course. Please remove existing batches and students"

Why this message appears and how to remove the batches and students linked to the course.

1 min read Last updated: 30 September 2026

This message means the course still has linked data:

  • To delete a course: first delete every batch created inside it.
  • To delete a batch: first delete every student enrolled in it.
1Unable to delete course message
2Deleting batches inside the course

When deleting students

If a student has linked data — such as elective subjects or finance records — a message lists these dependencies.

3Student dependencies warning

You can then force the deletion by clicking the click here link in the message.

Warning: Forced deletion is permanent and removes all the student’s data. See How to archive or delete a student account before continuing.

Still need help?

Our support team is available Sunday to Thursday, 9 AM – 3 PM.