Algolia icon

Algolia

Use Algolia in your n8n workflows

Clusters → Delete user ID

AI-generated

Overview

This node operation deletes a user ID and its associated data from the clusters in a multi-cluster setup. It is useful for managing user data by removing specific user IDs from the cluster mapping, which can help in maintaining data hygiene or complying with data removal requests.

Use Case Examples

  1. Deleting a user ID 'user1' from the clusters to remove all associated data.
  2. Removing a user ID that is no longer active or needed in the cluster mapping.

Properties

Name Meaning
User ID Unique identifier of the user who makes the search request.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • body - Response body containing details about the deletion result.

Dependencies

  • An API key credential for Algolia with permissions to manage clusters and user mappings.

Troubleshooting

  • Ensure the User ID is correctly formatted and matches the pattern /^[a-zA-Z0-9 -*.]+$/ to avoid validation errors.
  • Check API key permissions to confirm it has rights to delete user IDs from clusters.
  • Verify network settings such as proxy and SSL options if requests fail due to connectivity or security issues.
  • Timeout errors can occur if the server takes too long to respond; adjust the timeout setting accordingly.

Links

Discussion