Question

How to easily unenroll multiple courses from a user perspective?

  • 28 December 2021
  • 6 replies
  • 728 views

Userlevel 4

Hello, does anybody know an easy way to remove multiple course or learning plans for a user without going into each course or learning plan? And if their isn't did anybody posted an idea for this?


6 replies

Userlevel 2

I am also interested in how this could be done.  Similar to automatic enrollment rules, there should be automatic unenrollment rules.

Userlevel 7
Badge +7

I havent used the CSV to mass enroll into courses, but maybe that is where “the money function” is (supporting the opposite direction).

Userlevel 7
Badge +7

Ok I got the answer for you.

You can mass unenroll.

Check out the UI under the CSV Import when you go into Couse Management and attempt to enroll in any course.

Unenroll seems viable.

But the next step is the CSV….that sample file is attached here. The sample suggests that you can do multiple courses as well. And that looks pretty good.

Note though - you may want to be ultra careful with folks that have courses in progress before unenrolling them. I am not sure if the importer guards or has logic to limit that type of action (because the training material potentially is then left with some activity against it).

Userlevel 7
Badge +2

@dklinger Has already chimed in with the easiest option but I do want to echo the sentiments about enrollments of users in progress. Users who are in progress and are unenrolled will be unenrolled regardless of their status in the course. Their training material progress will remain in whatever state it was when they were unenrolled which means if they’re enrolled again later they might be in progress with some training materials.

One other note: 

I'm not the best API expert but using APIs and an API client like Postman you could use the enrollment/unenrollment apis to remove users from their courses.
https://help.docebo.com/hc/en-us/sections/360005441800-APIs


I think the API in particular you're looking for courses is:
DELETE /learn/v1/enrollments.

You can navigate the API browser by going to https://[yoursubdomain].docebosaas.com. If you go to the Learn drop down at the top and then go to the enrollment section you should be able to see how the call is formatted.

 

Userlevel 7
Badge +6

@Bart_at_Yamaha MotorThe Unenroll Users suggested by is likely to get stuck if the course is in a learning plan. My experience is that any enrollment that involves a learning plan is very limited to what can be used in a batch method. I have been told that the only work around in this case is via API.

Userlevel 7
Badge +4

@dklinger Has already chimed in with the easiest option but I do want to echo the sentiments about enrollments of users in progress. Users who are in progress and are unenrolled will be unenrolled regardless of their status in the course. Their training material progress will remain in whatever state it was when they were unenrolled which means if they’re enrolled again later they might be in progress with some training materials.

One other note: 

I'm not the best API expert but using APIs and an API client like Postman you could use the enrollment/unenrollment apis to remove users from their courses.
https://help.docebo.com/hc/en-us/sections/360005441800-APIs


I think the API in particular you're looking for courses is:
DELETE /learn/v1/enrollments.

You can navigate the API browser by going to https://[yoursubdomain].docebosaas.com. If you go to the Learn drop down at the top and then go to the enrollment section you should be able to see how the call is formatted.

 

This is the route I’d go for sure as you could also reset all the statuses first, then unenroll pretty easily with an api setup. 

Reply