Algolia icon

Algolia

Use Algolia in your n8n workflows

Overview

This node allows you to manage API keys in your Algolia application. Specifically, the "Delete api key" operation deletes an existing API key from your Algolia account. This is useful for revoking access or cleaning up unused keys to maintain security and control over your application's API usage.

Common scenarios include:

  • Removing compromised or outdated API keys.
  • Managing permissions by deleting keys that are no longer needed.
  • Automating API key lifecycle management within workflows.

Example use case:

  • Automatically delete an API key after a user or service no longer requires access, ensuring minimal exposure.

Properties

Name Meaning
Key The API key string that you want to delete from your Algolia application. This is a required field.

Output

The node outputs the JSON response returned by the Algolia API after attempting to delete the specified API key. Typically, this will confirm the deletion or provide error details if the operation failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential with sufficient permissions to manage API keys in your Algolia application.
  • Needs the Algolia Application ID and API key configured in the node credentials.
  • The node sends HTTP DELETE requests to the Algolia API endpoint for API key management.

Troubleshooting

  • Invalid API key: If the provided key does not exist or is malformed, the API will return an error. Verify the key string is correct.
  • Insufficient permissions: Ensure the API key used for authentication has rights to delete API keys.
  • Network issues: Connectivity problems can cause request failures; check network access to Algolia endpoints.
  • Rate limits: Excessive API calls may hit Algolia rate limits; consider retrying after some time.

Links and References

Discussion