OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node allows you to delete a project from the OpenProject system via its API. It is useful in automation workflows where you need to programmatically remove projects, for example, cleaning up test projects after completion or managing project lifecycle automatically based on external triggers.

A practical example would be an automated process that deletes projects once they are marked as completed in another system, ensuring your OpenProject instance stays organized without manual intervention.

Properties

Name Meaning
Id The unique identifier (number) of the project you want to delete.

Output

The node outputs JSON data representing the response from the OpenProject API after attempting to delete the specified project. Typically, this will confirm whether the deletion was successful or provide error details if it failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • The node expects the base URL of the OpenProject instance to be configured in the credentials.
  • The node uses standard HTTP headers for JSON communication (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent project ID will result in an error from the API.
    • Authentication failures due to incorrect or missing API credentials.
    • Network connectivity problems preventing access to the OpenProject server.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and has sufficient permissions.
    • "Project not found": Verify the project ID exists and is correct.
    • Timeouts or network errors: Ensure the OpenProject server URL is reachable from n8n and there are no firewall restrictions.

Links and References

Discussion