Actions25
Overview
This node integrates with the Resend API to manage various email-related resources, including API keys. Specifically, for the API Key - Delete operation, it allows users to delete an existing API key by specifying its ID. This is useful for revoking access or cleaning up unused API keys in your Resend account.
Practical scenarios include:
- Automatically removing API keys that are no longer needed.
- Managing API key lifecycle as part of a security policy.
- Integrating API key deletion into workflows that provision and decommission services.
Properties
| Name | Meaning |
|---|---|
| API Key ID | The unique identifier of the API key to delete (e.g., key_123456). This is a required field and should be provided securely. |
Output
The node outputs a JSON object representing the response from the Resend API after attempting to delete the specified API key. Typically, this will confirm successful deletion or provide error details if the operation failed.
No binary data output is involved in this operation.
Example output JSON structure might look like:
{
"id": "key_123456",
"deleted": true
}
or, in case of error:
{
"error": "API key not found"
}
Dependencies
- Requires an active connection to the Resend API using an API authentication token configured in n8n credentials.
- The node uses HTTP requests to communicate with the Resend API endpoints.
- No additional external dependencies beyond the configured API key credential.
Troubleshooting
Common issues:
- Providing an invalid or non-existent API Key ID will result in an error from the API.
- Missing or incorrect API authentication token will cause authorization failures.
- Network connectivity issues can prevent the node from reaching the Resend API.
Error messages and resolutions:
"API key not found": Verify the API Key ID is correct and exists in your Resend account."Unauthorized"or"Invalid API key": Check that the API authentication token is correctly set up in n8n credentials.- Timeout or network errors: Ensure your environment has internet access and the Resend API endpoint is reachable.
Links and References
- Resend API Documentation — Official API docs for managing API keys and other resources.
- n8n HTTP Request Node — For understanding how HTTP requests are made within n8n nodes.