AnsweredAssumed Answered

Deleting an enrollment on a section

Question asked by Robert West on Dec 14, 2018
Latest reply on Dec 17, 2018 by Robert West

When enrolling a student onto a course, you can specify if you are enrolling onto the course or a section in the course by using:

 

POST /api/v1/courses/:course_id/enrollments

or

POST /api/v1/sections/:section_id/enrollments

 

We have teachers that are enrolled on multiple sections of a course, but there doesn't appear to be a way of removing them just from a single section, only from the entire course:

 

DELETE /api/v1/courses/:course_id/enrollments/:id

 

I can't just delete them from the course as we would then lose all of their settings, so how do I do this?

Outcomes