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,
Depending on your skills/resources, you have two options:
- 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.
- 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
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”
Reply
Log in to Docebo Community
Enter your email address or username and password below to log in to Docebo Community. No account yet? Create an account
Docebo Employee Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.