Skip to main content
Requires Admin API key Restoring resets the validity attribute to 0. Algolia stores up to 1,000 API keys per application. If you create more, the oldest API keys are deleted and can’t be restored.

Usage

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

// Call the API
var response = await client.RestoreApiKeyAsync("ALGOLIA_API_KEY");
// >LOG

See the full API reference

For more details about input parameters and response fields.
I