create_enrollment
Enroll users in courses by specifying course and user IDs, with options to set activation and expiry dates for access management.
Instructions
Enroll a user in a course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Course ID to enroll the user in | |
| user_id | Yes | User ID to enroll | |
| activated_at | No | Activation date (ISO 8601). Defaults to now. | |
| expiry_date | No | Expiry date (ISO 8601). Optional. |