Actions12
Overview
This node integrates with the Memberspot API to manage user data and related resources. Specifically, the "Delete Users" operation under the "User" resource 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 from your system.
Practical examples include:
- Bulk deleting users who have unsubscribed or violated terms.
- Cleaning up test or temporary user accounts after a campaign.
- Automating user lifecycle management in membership or course platforms.
Properties
| Name | Meaning |
|---|---|
| Emails | Comma-separated list of email addresses of users to be deleted (e.g., "a@b.com,c@d.com") |
Output
The output is a JSON object representing the response from the Memberspot API after attempting to delete the specified users. It typically contains information about the success or failure of the deletion request.
If an error occurs during the operation, the output JSON will contain an error field with the error message.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Memberspot API.
- The node makes HTTP requests to the Memberspot API base URL configured in the credentials.
- Proper network access to the Memberspot API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Incorrectly formatted emails (not comma-separated or invalid email format) may cause the API to reject the request.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Errors returned from the API are passed through in the output's
errorfield. - If the node is set to not continue on fail, errors will throw and stop execution.
- To resolve errors, verify the API key, ensure emails are correctly formatted, and check network connectivity.
- Errors returned from the API are passed through in the output's
Links and References
- Memberspot API Documentation (general reference, as indicated in the node description)
- n8n Expressions Documentation: https://docs.n8n.io/code/expressions/ (for dynamic input values)