Enroll User
enroll_userEnroll a user in a Canvas course by specifying course ID, user ID, and enrollment type like Teacher or Student.
Instructions
Enroll a user in a course with a specified role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The enrollment type | |
| user_id | Yes | The Canvas user ID to enroll | |
| course_id | Yes | The Canvas course ID | |
| enrollment_state | No | Initial enrollment state (defaults to invited) |