Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
This node operation deletes a single attachment identified by its unique ID. It is useful in scenarios where you need to remove outdated, incorrect, or unwanted attachments from a system or service that manages files or documents. For example, if an attachment was uploaded by mistake or is no longer relevant, this operation allows you to clean up by deleting it.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the attachment to delete. This is required to specify which attachment should be removed. |
Output
The output JSON typically contains information about the result of the deletion operation. This may include confirmation of successful deletion or details about any errors encountered. Since this operation deletes data, no binary output is expected.
Dependencies
- Requires an API key credential for authentication with the external service managing attachments.
- The node uses a base URL and headers configured via credentials to communicate with the API.
- The underlying implementation depends on an OpenAPI specification loaded from a bundled JSON file, which defines the API endpoints and request structure.
Troubleshooting
Common issues:
- Providing an invalid or non-existent attachment ID will likely result in an error indicating the attachment could not be found.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems can prevent the node from reaching the API endpoint.
Error messages and resolutions:
- "Attachment not found": Verify the ID is correct and the attachment exists.
- "Authentication failed": Check that the API key or token is valid and properly configured.
- Timeout or network errors: Ensure stable internet connection and that the API endpoint is reachable.
Links and References
- Refer to the external API documentation for detailed information on attachment management and deletion endpoints.
- Consult n8n documentation on how to configure API credentials and use HTTP request nodes for custom integrations.