Actions27
- Advanced Actions
- Api Keys Actions
- Clusters Actions
- Dictionaries Actions
- Indices Actions
Clusters → Assign multiple userIDs
AI-generatedOverview
This node operation assigns multiple user IDs to a specified cluster in a multi-cluster Algolia setup. It is useful for managing user-to-cluster mappings in applications that use Algolia's multi-cluster architecture, allowing batch assignment of users to clusters efficiently.
Use Case Examples
- Assign multiple user IDs to a cluster named 'c11-test' by providing a list of user IDs in JSON format.
- Batch assign users to a cluster to manage user distribution across clusters in a multi-cluster Algolia application.
Properties
| Name | Meaning |
|---|---|
| Cluster | The name of the cluster to which the user IDs will be assigned. |
| Users | A JSON array of user IDs to assign to the specified cluster. |
| X-Algolia-User-ID | Unique identifier of the user who makes the search request, sent as a header for authentication or tracking. |
Output
JSON
response- The response from the Algolia API after assigning the user IDs to the cluster.
Dependencies
- Algolia API key credential for authentication
Troubleshooting
- Ensure the cluster name is correct and exists in your Algolia multi-cluster setup.
- Verify that the user IDs JSON is properly formatted and contains valid user identifiers.
- Check that the X-Algolia-User-ID header is correctly set and authorized to perform the operation.
- Handle API errors such as rate limits or permission issues by reviewing Algolia API key permissions and usage limits.
Links
- Algolia API - Batch Assign User IDs - Official Algolia API documentation for batch assigning user IDs to clusters.