Actions11
Overview
This node integrates with the Memberspot API to manage user-related operations within a learning or membership platform. Specifically, the "Delete Users" operation allows you to delete multiple users by specifying their email addresses. This is useful for automating user management tasks such as removing inactive or unwanted users in bulk.
Practical examples:
- Automatically deleting users who have unsubscribed or whose memberships have expired.
- Cleaning up test or demo user accounts from your system.
- Managing user data compliance by removing users upon request.
Properties
| Name | Meaning |
|---|---|
| Emails | Comma-separated list of email addresses of the users to be deleted (e.g., "a@b.com,c@d.com") |
Output
The output is an array of JSON objects representing the response from the Memberspot API after attempting to delete the specified users. Each item corresponds to one execution input and contains the API's JSON response indicating success or failure details.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Memberspot API.
- The node expects the base URL of the Memberspot API to be configured in the credentials.
- Network access to the Memberspot API endpoint is necessary.
Troubleshooting
Common issues:
- Providing invalid or incorrectly formatted email addresses may cause the API call to fail.
- Missing or incorrect API authentication credentials will result in authorization errors.
- If the API endpoint is unreachable, network or configuration issues should be checked.
Error messages:
- Errors thrown by the node include detailed API error responses wrapped in a NodeApiError, which includes the index of the input item causing the failure.
- Typical errors might indicate invalid emails, unauthorized access, or server errors.
Resolution tips:
- Verify that all emails are correctly formatted and separated by commas.
- Ensure the API key credential is valid and has sufficient permissions.
- Check network connectivity and API availability.
Links and References
- Memberspot API Documentation (hypothetical link; replace with actual if available)
- n8n Expressions Documentation (for dynamic property values)