OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node allows updating user information in the OpenProject system via its API. It is useful for automating user management tasks such as modifying user details, changing roles, or updating contact information without manual intervention. For example, it can be used to synchronize user data from an HR system or to batch update user permissions.

Properties

Name Meaning
Id The unique identifier of the user to update (required).
Admin Boolean flag indicating whether the user has administrative privileges (true/false).
Email The user's email address (required).
Login The login username for the user (required).
Password The user's password. Note: writable only on creation, not on update.
First Name The user's first name (required).
Last Name The user's last name (required).
Status The current activation status of the user. Writable only on creation, not on update.
Language The language preference of the user (required).

Output

The node outputs JSON data representing the updated user object returned by the OpenProject API. This typically includes all user fields after the update operation, confirming the changes made. There is no binary data output.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • The base URL of the OpenProject instance must be configured in the node credentials.
  • The node uses standard HTTP headers for JSON content negotiation.

Troubleshooting

  • Common issues:
    • Invalid or missing user ID will cause the update to fail.
    • Attempting to update read-only fields like password or status during an update operation may be ignored or cause errors.
    • Incorrect API credentials or base URL configuration will result in authentication or connection errors.
  • Error messages:
    • "User not found" indicates the provided user ID does not exist.
    • "Unauthorized" or "Authentication failed" suggests invalid API credentials.
    • Validation errors may occur if required fields are missing or contain invalid values.

Links and References

Discussion