Skip to main content

Hello wise Docebo Community. We currently reuse our courses, and I’m exploring options to automatically archive enrollments every 6 months. Does anyone know of a way to automate that or is it only a manual process? Thank you!

Hi, @smallc 

Depending on your skills/resources, you have two options:

  1. Archive/Unenroll in Course Management > Enrollments … Select the users you wish to unenroll, and then use Choose Action > Archive/Unenroll. This is a manual process for each course. This method does retain the list of archived enrollments for historical purposes.
  2. If you can use APIs, or have access to someone who can, you can use the learn/v1/enrollment endpoints. There are several options there depending on the course type, etc. I didn’t find an endpoint during my quick check that specifically tracked the “archive” status vs. just unenrolling, but it might be there. So this method may simply give you a “remove enrollments” rather than a “retire enrollment” behavior.

Hi @KMallette ,

Thanks you for your reply and insights. I’m curious, if I use the API learn/v1/enrollment endpoints to unenroll learners, will this method retain the list of enrollments for historical purposes? 


Hi, Catherine … that’s what I was saying. I think the API approach is a true ‘delete’ the enrollment rather than ‘archive’ the enrollment. There would be no historical information.


Historical information is available for archived enrollments through both the GUI and the APIs.

Through the GUI..

From Course | Enrollments, filter for “Archived Enrollments” (the default view is “Active Enrollments”.

OR
From Course | Reports, filter for “Archived Enrollments” (the default view is “Active Enrollments”.

Through APIs

Select “Enrollment” in the ‘Services’ dropdown.

There are six (6) variant “RETURN” APIs for archive enrollments ‘GET’ call.

There are two (2) variant “UPDATE” APIs to archive enrollment(s) ‘POST’ call.

Add the following to your already logged in Docebo company base URL to view the APIs available for Archive Enrollments:

/api-browser/#!/enrollment/UsersArchive/UsersArchive_enrollment_v1_users_user_id_courses_archives

..

As far as how Archive Enrollments works in Docebo…

There are two options either through GUI or API call.

through API call:

  • reset_tracking” (learning material tracks) -- true / false
  • “enrollment_mode” (unenroll or re-enroll) -- delete / reset

through GUI:

Select one of the following options:

  • Archive and Re-Enroll
  • Archive and Unenroll

Enable / Disable the option -- “Reset the tracking of the course material”

 

 

 

 


@shane_hutchison thank you for this clarification. Being able to retain the data after unenrolling users from a course will be very beneficial to us!


Reply