OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

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

Discussion