Actions56
- API Call Actions
- Bundle Actions
- Community Actions
- Course Actions
- Group Actions
- Hub Actions
- Member Actions
- Module Actions
- Popup Actions
- Webhook Actions
Overview
The "Remove Courses From Member" operation in the Member resource allows users to disassociate one or more courses from a specific member within the LearningSuite platform. This is useful for managing course enrollments dynamically, such as when a member completes a course, loses access rights, or needs their course list updated due to changes in their subscription or role.
Practical examples include:
- Removing expired or canceled courses from a member's profile.
- Adjusting course access after membership status changes.
- Cleaning up course assignments during bulk updates or audits.
Properties
| Name | Meaning |
|---|---|
| Member Name or ID | The unique identifier or name of the member from whom courses will be removed. Can be selected from a list or specified via expression. |
| Course Names or IDs | One or more courses to remove from the member. Selectable from a list or specified by IDs using expressions. |
| Additional Options | A collection of optional settings: |
| - Disable Access Notification Email | If set to true, prevents sending an email notification about the access change. Default is false (notification sent). |
| - Send Login Link In Course Email | If true, includes a login link in the course-related email. Default is false. |
| - Access Given At | Specifies the date and time when access should be granted (though in this context of removal, it may affect timing of notifications or processing). |
Output
The node outputs a JSON array where each item corresponds to the result of removing courses from a member. The structure typically includes confirmation of the removal action, such as success status or details of the updated member record. No binary data output is expected.
Example output JSON structure might look like:
[
{
"memberId": "12345",
"removedCourseIds": ["course1", "course2"],
"status": "success"
}
]
Dependencies
- Requires a valid API key credential for authenticating with the LearningSuite API.
- The node depends on the LearningSuite API endpoint configured via credentials, including the base URL.
- Proper permissions on the API side to modify member-course associations are necessary.
Troubleshooting
Common Issues:
- Invalid or missing member ID or course IDs can cause errors.
- Insufficient API permissions may lead to authorization failures.
- Network or connectivity issues with the LearningSuite API endpoint.
Error Messages:
"No handler for resource "member" and operation "removeFromCourses": Indicates the operation is not supported or incorrectly specified.- API error responses related to invalid IDs or unauthorized access will be propagated; ensure correct inputs and credentials.
Resolutions:
- Verify that member and course IDs exist and are correctly formatted.
- Check API credentials and permissions.
- Enable "Continue On Fail" in the node settings to handle partial failures gracefully.
Links and References
- LearningSuite API Documentation (general reference, replace with actual API docs if available)
- n8n Expressions Documentation – for specifying dynamic input values.