Actions116
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- Enroll Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The node provides integration with the Mindz API, allowing users to manage various resources such as enrollments, users, teams, courses, and more. Specifically, for the Enroll resource with the Delete operation, this node enables the deletion of an enrollment record identified by its unique Enroll ID.
This operation is useful in scenarios where you need to programmatically remove a user's enrollment from a course or program within the Mindz platform. For example, if a user cancels their participation or if an administrator needs to revoke access, this node can automate that process.
Properties
| Name | Meaning |
|---|---|
| Enroll ID | The unique identifier of the enrollment record to delete. This is a required string input. |
Output
The output of the node after executing the Delete operation on an enrollment typically contains a JSON object indicating the result of the deletion request. This may include confirmation of successful deletion or details about the deleted enrollment.
Since the source code does not explicitly show the output structure, it is expected to return standard API response data related to the deletion action, such as status or success message.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the Mindz API.
- Needs an API authentication token configured via OAuth2 credentials in n8n.
- Proper permissions on the Mindz account to perform deletion of enrollments.
Troubleshooting
Common issues:
- Invalid or missing Enroll ID will cause the operation to fail.
- Insufficient permissions or expired API tokens may result in authorization errors.
- Network connectivity problems can prevent communication with the Mindz API.
Error messages:
- "Enroll ID is required" — Ensure the Enroll ID property is provided and correctly formatted.
- "Unauthorized" or "Authentication failed" — Verify that the API credentials are valid and have not expired.
- "Enrollment not found" — Confirm that the Enroll ID exists in the Mindz system before attempting deletion.
Resolving these usually involves checking input parameters, refreshing credentials, and verifying resource existence.
Links and References
- Mindz API Documentation (hypothetical link)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/
- n8n Node Development Documentation: https://docs.n8n.io/integrations/creating-nodes/