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 operation updates a placeholder user in the "Principals" resource of an external system (likely OpenProject, based on context). It allows you to modify the name of an existing placeholder user identified by their unique ID. This is useful in scenarios where placeholder users are used as temporary or generic accounts and need to be renamed for clarity or organizational purposes.
Practical examples:
- Renaming a generic placeholder user to reflect a new project role.
- Updating placeholder user names during data cleanup or migration processes.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the placeholder user to update. Must be provided as a number. |
| Name | The new name to assign to the placeholder user. This is a string value representing the updated display name. |
Output
The node outputs JSON data representing the updated placeholder user object returned from the API after the update operation. This typically includes fields such as the user's id, updated name, and possibly other metadata related to the placeholder user.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the external service's API.
- The base URL for the API must be configured in the node credentials.
- The node uses standard HTTP headers for JSON content negotiation (
Accept: application/jsonandContent-Type: application/json).
Troubleshooting
- Invalid or missing Id: If the placeholder user ID is not provided or invalid, the API will likely return an error indicating that the resource was not found or the request is malformed.
- Authentication errors: Ensure that the API key credential is correctly set up and has sufficient permissions to update placeholder users.
- Name validation issues: If the new name does not meet the API’s requirements (e.g., length or character restrictions), the API may reject the update.
- Network or connectivity problems: Verify that the base URL is correct and accessible from the n8n environment.
Links and References
- Refer to the external system’s API documentation for the "Principals" resource and placeholder user management endpoints.
- General REST API usage guidelines for updating resources via PATCH or PUT methods.