Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node updates an existing user in the "Principals" resource of the OpenProject system via its API. It is useful for managing user accounts programmatically, such as changing user details or permissions without manual intervention in the OpenProject UI.
Common scenarios include:
- Automating user management workflows in project management environments.
- Synchronizing user data from external systems.
- Updating user roles or contact information in bulk.
For example, you could update a user's email and admin status after they change departments or roles within your organization.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the user to update (number). |
| Admin | Whether the user has administrative privileges (boolean: true or false). |
| The user's email address (string). | |
| Login | The login username for the user (string). |
| Password | The user's password (string). Note: Only writable on creation, not on update. |
| First Name | The user's first name (string). |
| Last Name | The user's last name (string). |
| Status | The current activation status of the user (string). Note: Only writable on creation, not on update. |
| Language | The user's preferred language (string). |
Output
The node outputs JSON data representing the updated user object returned by the OpenProject API. This typically includes all user fields such as id, name, email, admin status, and other metadata reflecting the new state after the update.
No binary data output is produced by this node.
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
- Invalid User ID: If the provided user ID does not exist, the API will return an error. Verify the ID before updating.
- Password Update Ignored: Attempts to update the password will be ignored since it is only writable on user creation.
- Status Update Ignored: Similarly, status changes are only allowed during creation, so updates to this field will have no effect.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to update users.
- Missing Required Fields: All required fields (Id, Admin, Email, Login, First Name, Last Name, Language) must be provided; otherwise, the request will fail.