Enrollment API Question.... Custom Roles?

samson_chung
Community Member

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?

Thanks,

Sc.

Labels (1)
0 Likes