Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node operation deletes an attachment by its unique identifier. It is useful in scenarios where you need to remove outdated, incorrect, or unnecessary attachments from a project management system or similar platform that supports attachments. For example, if a file was uploaded by mistake or is no longer relevant, this operation allows you to clean up and maintain the data integrity by deleting that specific attachment.
Properties
| Name | Meaning |
|---|---|
| Id | The unique numeric identifier of the attachment to delete. |
Output
The output JSON typically contains the result of the deletion operation. This might be a confirmation message or status indicating whether the deletion was successful. Since this is a delete operation, no binary data output is expected.
Dependencies
- Requires an API key credential for authentication with the external service.
- Needs the base URL of the API endpoint configured in the node credentials.
- Depends on the external OpenProject API (or similar) to perform the deletion of attachments.
Troubleshooting
Common issues:
- Providing an invalid or non-existent attachment ID will likely result in an error response from the API.
- Missing or incorrect API credentials can cause authentication failures.
- Network connectivity problems may prevent the node from reaching the API endpoint.
Error messages and resolutions:
- "Attachment not found": Verify that the provided attachment ID exists.
- "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and has sufficient permissions.
- "Network error" or "Timeout": Ensure stable internet connection and correct API base URL configuration.
Links and References
- OpenProject API Documentation (for reference on attachment management endpoints)
- n8n documentation on creating custom nodes