Reset enrollment progress
Reset the progress of enrollments so learners can take the course again.
MCP tool ispring_write → reset_enrollment
write Confirm
Resets the progress of each enrollment_id from list_enrollments and returns their new status, not_started. The enrollment, its start date and its due date stay. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| enrollment_ids string[] required | string[] | Enrollments from list_enrollments. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ispring_write",
"arguments": {
"operation": "reset_enrollment",
"arguments": {
"enrollment_ids": [
"enrollment ids"
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"reset": 1,
"enrollments": [
{
"enrollment_id": "e_70a0f1",
"status": "not_started"
}
]
},
"isError": false
}