unenrol_student
Remove one or more users from a course without deleting their data. Only the enrolment link is removed, preserving user records.
Instructions
Unenrol one or more users from a course. Non-destructive: user data is preserved, only the course enrolment link is removed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_id": "<course_id>",
"user_ids": "<user_ids>"
},
"name": "unenrol_student"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_ids | Yes | ||
| course_id | Yes |