Documentation Index
Fetch the complete documentation index at: https://algolia.com/llms.txt
Use this file to discover all available pages before exploring further.
Requires Admin API key
Any unspecified attribute resets that attribute to its default value.
Usage
// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));
// Call the API
var response = await client.UpdateApiKeyAsync(
"ALGOLIA_API_KEY",
new ApiKey
{
Acl = new List<Acl> { Enum.Parse<Acl>("Search"), Enum.Parse<Acl>("AddObject") },
Validity = 300,
MaxQueriesPerIPPerHour = 100,
MaxHitsPerQuery = 20,
}
);
// print the response
Console.WriteLine(response);
See the full API reference
For more details about input parameters
and response fields.