OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation deletes a storage entry related to "File Links" in the connected system. It is useful when you need to remove a specific storage resource identified by its unique ID, for example, cleaning up unused or obsolete file storage references.

Practical scenarios include:

  • Automating cleanup of file storage entries that are no longer needed.
  • Managing storage lifecycle by programmatically deleting storage records.
  • Integrating with workflows that require removing storage data upon certain triggers.

Properties

Name Meaning
Id Storage id (number) - The unique identifier of the storage entry to delete

Output

The output JSON will typically contain the response from the API after attempting to delete the specified storage entry. This may include confirmation of deletion or error details if the operation failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential to authenticate requests to the external service managing the file links and storage.
  • The node depends on a configured base URL for the API endpoint, provided via credentials.
  • Uses HTTP headers specifying JSON content type for communication.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent storage ID will likely result in an error response indicating the resource was not found.
    • Missing or incorrect API authentication credentials will cause authorization errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages and resolutions:

    • "Not Found" or similar: Verify the storage ID exists before attempting deletion.
    • "Unauthorized" or "Forbidden": Check that the API key credential is correctly set and has sufficient permissions.
    • Timeouts or connection errors: Ensure network access to the API endpoint is available and stable.

Links and References

  • Refer to the API documentation of the external service managing file links and storage for detailed information on the delete storage endpoint.
  • n8n documentation on creating and using credentials for API authentication.

Discussion