Unenrollment form data

Hi all,

Does anybody know where does data from the unenrollment form go? I don’t see any POST issued after submitting.

Hi @Andres.Aulasneo,

I think it goes to <LMS_HOST>/admin/user_api/userretirementrequest/.

Then the users are retired after 30 days if you have this Tutor plugin installed: GitHub - hastexo/tutor-contrib-retirement: This is an experimental Tutor plugin. You should not consider it ready for production use at this point.

Kind regards, Ivo Branco.

NAU Platform - FCT|FCCN

Thanks @IvoBranco,

But the plugin you mention is for user retirement (delete user account completely from the site). The form I mentioned is shown when you unenroll from a course.

Sorry, my bad!

I tested it on our environment that runs a based Redwood release.

It POST to <LMS_DOMAIN>/change_enrollment

with payload of:

course_id: `course-v1:….`

enrollment_action: `unenroll`

From my analysis it’s saved to the CourseEnrollment class. You can view your records on `<LMS_DOMAIN>/admin/student/courseenrollment/`.

The unenrollments have the “Is Active” column as False.

Hope it helps.

Calls and references on the code:

Kind regards, Ivo Branco.