Unassign learner

Remove a training assignment from learners.

MCP tool workramp_write → unassign_learner

write Confirm

Does what Unassign in the row menu does. WorkRamp deletes the record on the backend and it is gone from reporting. A guide, challenge or SCORM course inside a path cannot be unassigned alone; unassign the path. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: unassign_learner
NameTypeDescription
training_id string required string Training ID from list_trainings.
learner_ids string[] required string[] Learner IDs from list_learners or list_assignments.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "workramp_write",
    "arguments": {
      "operation": "unassign_learner",
      "arguments": {
        "training_id": "training_8c41d2",
        "learner_ids": [
          "learner ids"
        ]
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "training": "Onboarding",
    "unassigned": 1
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.