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 revoking access when a member no longer needs or is eligible for certain courses.
Common scenarios include:
- Removing outdated or irrelevant courses from a member's profile.
- Managing course subscriptions based on membership status changes.
- Automating course access revocation in workflows triggered by external events.
For example, an education administrator can use this node to remove multiple courses from a member after they complete a program or if their subscription expires.
Properties
| Name | Meaning |
|---|---|
| Member Name or ID | The unique identifier or name of the member from whom courses will be removed. Select from a list or specify via expression. |
| Course Names or IDs | One or more courses to remove from the member. Select from a list or specify IDs using expressions. |
| Additional Options | Collection of optional settings: |
| - Disable Access Notification Email | If true, disables sending the access notification email upon removal. Defaults to false. |
| - Send Login Link In Course Email | If true, includes a login link in the course-related email. Defaults to false. |
| - Access Given At | Date and time specifying when access should be granted (used here possibly for scheduling or logging purposes). |
Output
The node outputs a JSON array where each item corresponds to the result of removing courses from a member. Each output object typically contains information about the success or failure of the removal operation for the specified member and courses.
If the operation supports binary data output (not indicated in the provided code or properties), it would represent related files or attachments, but this node primarily deals with JSON data representing API responses.
Dependencies
- Requires a valid API key credential for the LearningSuite API.
- The node depends on the LearningSuite API endpoint configured in the credentials, including the base URL.
- The node uses internal handlers mapped to the Member resource and Remove Courses operation to perform API calls.
Troubleshooting
- No handler for resource and operation: If you see an error indicating no handler exists for the given resource-operation pair, ensure that the Resource is set to "Member" and Operation to "Remove Courses From Member" exactly as supported.
- Invalid member or course IDs: Errors may occur if the specified member or course IDs do not exist or are not accessible. Verify IDs are correct and that the API user has permissions.
- API authentication errors: Ensure the API key credential is correctly configured and has sufficient rights.
- Email notification options not working as expected: Double-check the boolean flags for disabling notifications or sending login links; incorrect usage might cause unexpected email behavior.
Links and References
- LearningSuite API Documentation (general reference, replace with actual API docs if available)
- n8n Expressions Documentation – for using expressions in property fields
This summary is based solely on static analysis of the provided source code and property definitions.