Skip to main content
This method is deprecated.
Requires Admin API key The time it takes to move a user is proportional to the amount of data linked to the user ID.

Usage

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

// Call the API
var response = await client.AssignUserIdAsync(
  "user42",
  new AssignUserIdParams { Cluster = "d4242-eu" }
);

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

See the full API reference

For more details about input parameters and response fields.