OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation deletes a placeholder user in the "Principals" resource of the OpenProject system. It is useful when you need to remove temporary or dummy user accounts that were created as placeholders, for example during project setup or data migration. By deleting these placeholder users, you can keep your user list clean and avoid confusion with actual users.

A practical example would be cleaning up placeholder users after importing real user data into OpenProject, ensuring only valid users remain.

Properties

Name Meaning
Id Placeholder user id (number) - The unique identifier of the placeholder user to delete

Output

The node outputs JSON data representing the result of the deletion request. Typically, this will include confirmation of successful deletion or details about any error encountered. There is no indication that binary data is output by this operation.

Dependencies

  • Requires an API key credential to authenticate with the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in the credentials.
  • Depends on the OpenProject REST API being accessible and the authenticated user having permission to delete placeholder users.

Troubleshooting

  • Common issues:

    • Invalid or missing placeholder user ID: Ensure the "Id" property is set correctly and corresponds to an existing placeholder user.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Confirm that the OpenProject API endpoint is reachable from n8n.
  • Error messages:

    • "User not found" or similar: The provided placeholder user ID does not exist; double-check the ID.
    • "Unauthorized" or "Forbidden": The API key lacks permission to delete users; update credentials or permissions.
    • Timeout or connection errors: Check network settings and API availability.

Links and References

Discussion