Skip to main content
This method is deprecated.
Requires Admin API key You can’t move users with this operation.

Usage

// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.BatchAssignUserIdsAsync(
  "userID",
  new BatchAssignUserIdsParams
  {
    Cluster = "theCluster",
    Users = new List<string> { "user1", "user2" },
  }
);

// print the response
Console.WriteLine(response);

See the full API reference

For more details about input parameters and response fields.