course_enrollments_update
Give a learner access to a course by email, or revoke or restore an enrollment.
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": {
"workspace": "<workspace>",
"action": "<action>"
},
"name": "course_enrollments_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| action | Yes | ||
| course_id | No | ||
| workspace | Yes | ||
| enrollment_id | No |