AnsweredAssumed Answered

Enrollment API Question.... Custom Roles?

Question asked by Samson Chung on Feb 11, 2020
Latest reply on Feb 12, 2020 by James Jones

Hey all,

I have been playing around with this endpoint here.

Enrollments - Canvas LMS REST API Documentation 


One thing I am a bit confused by this is.... how do I enroll a Custom Role?


According to the documentation.

Allowed values: StudentEnrollment, TeacherEnrollment, TaEnrollment, ObserverEnrollment, DesignerEnrollment


But... the GUI allows me to 'Add a role'.... let's say I would like to add a 'Student Advisor' role and I would like to enroll some users of this type into selected courses... How would I go about doing that via the Endpoint?