OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation deletes a user from the "Principals" resource in OpenProject via its API. It is useful when you need to programmatically remove users from your project management system, for example, to automate cleanup of inactive or obsolete user accounts.

A practical example would be integrating this node into a workflow that deactivates and deletes users who have not logged in for a certain period, helping maintain an up-to-date user list without manual intervention.

Properties

Name Meaning
Id The unique identifier of the user to delete (User id)

Output

The output JSON will typically contain the response from the OpenProject API after attempting to delete the specified user. 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 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 content type and accepts JSON responses.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent user ID will result in an error from the API.
    • Missing or incorrect API authentication credentials will cause authorization failures.
    • Network connectivity problems can prevent the node from reaching the OpenProject server.
  • Error messages:

    • 404 Not Found: The user ID does not exist. Verify the user ID before retrying.
    • 401 Unauthorized: Authentication failed. Check that the API key credential is valid and has sufficient permissions.
    • 400 Bad Request: The request was malformed. Ensure the user ID is correctly formatted as a number.

Links and References

Discussion