Mindz icon

Mindz

Interact with Mindz API

Actions116

Overview

The node provides integration with the Mindz API, allowing users to manage various resources such as users, courses, teams, subscriptions, and more. Specifically, for the User resource with the Delete operation, this node enables deleting a user from the Mindz system by specifying their unique User ID.

This operation is beneficial in scenarios where you need to automate user lifecycle management, such as removing users who no longer require access or cleaning up test accounts. For example, after offboarding an employee, you can use this node to delete their user record automatically.

Properties

Name Meaning
User ID The unique identifier of the user to be deleted. This is a required string input.

Output

The output of the Delete User operation typically contains a JSON object indicating the result of the deletion request. This may include confirmation of successful deletion or details about any errors encountered.

Since the bundled code does not explicitly show the output structure, it is common for such delete operations to return either:

  • A success message or status confirming the user was deleted.
  • An error message if the user could not be found or deletion failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an active connection to the Mindz API.
  • Requires an API authentication token configured in n8n credentials (referred generically as "an API key credential").
  • The node depends on the userExecute function imported from the user resource module, which handles the actual API call for user operations.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent User ID will likely cause the API to return an error.
    • Missing or incorrect API authentication credentials will prevent the node from connecting to the Mindz API.
    • Network connectivity issues can cause timeouts or failures.
  • Error messages:

    • "User not found" or similar indicates the specified User ID does not exist.
    • Authentication errors suggest problems with the API key or OAuth token.
    • Timeout or network errors indicate connectivity problems.
  • Resolutions:

    • Verify the User ID is correct and exists in the Mindz system.
    • Ensure the API credentials are properly set up and valid.
    • Check network connectivity and retry.

Links and References

  • Mindz API documentation (refer to official Mindz API docs for detailed endpoints and parameters)
  • n8n documentation on creating and using custom nodes
  • General REST API best practices for delete operations

Discussion