Actions27
- Comments Actions
- List Groups Actions
- Static Images Actions
- Issues Actions
- Workflows Actions
- Attachments Actions
- Form Definitions Actions
- Import Actions
Overview
This node operation deletes an attachment from a specified issue in the iTwin Issues system. It is useful when you need to remove outdated, incorrect, or unnecessary attachments linked to issues tracked within the iTwin platform.
Common scenarios:
- Cleaning up attachments that are no longer relevant to an issue.
- Removing sensitive or erroneous files mistakenly uploaded.
- Managing storage by deleting large or redundant attachments.
Practical example:
You have an issue with ID 12345 and want to delete an attachment with ID abcde. Using this node operation, you specify these IDs, and the node sends a request to remove that attachment from the issue.
Properties
| Name | Meaning |
|---|---|
| ID | The ID of the issue from which you want to delete an attachment. |
| Attachment ID | The ID of the specific attachment to delete from the issue. |
Output
The node outputs JSON data representing the result of the deletion operation. Typically, this will confirm whether the attachment was successfully deleted or provide error information if the deletion failed.
No binary data output is expected for this operation.
Dependencies
- Requires an API key credential for authenticating with the iTwin Issues API.
- Needs network access to the Bentley iTwin platform API endpoint.
- The node depends on internal helper utilities to perform authenticated HTTP requests.
Troubleshooting
Common issues:
- Providing invalid or non-existent issue or attachment IDs will cause errors.
- Insufficient permissions or expired API credentials can lead to authorization failures.
- Network connectivity problems may prevent successful API calls.
Error messages and resolutions:
- "Unsupported operation" — indicates the operation parameter is incorrect; ensure "delete-attachment" is selected.
- API authentication errors — verify that the API key credential is correctly configured and valid.
- Attachment not found — check that the attachment ID exists and belongs to the specified issue.
- Network errors — confirm internet connectivity and API endpoint accessibility.
Links and References
- iTwin Developer Documentation
- Bentley iTwin Issues API Reference (general reference)