Actions43
- Project Actions
- User Actions
- Work Package Actions
- Time Entry Actions
- Version Actions
- Type Actions
- Status Actions
- Priority Actions
- Category Actions
Overview
This node integrates with the OpenProject API to manage various resources such as projects, users, work packages, time entries, versions, types, statuses, priorities, and categories. Specifically for the User - Delete operation, it deletes a user from the OpenProject system by their unique user ID.
Common scenarios where this node is beneficial include automating user management workflows, such as removing users who no longer need access or cleaning up inactive accounts in bulk. For example, an organization could use this node to automatically delete users after they leave the company or when their accounts are flagged for removal.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user to delete |
Output
The output contains a JSON object representing the response from the OpenProject API after attempting to delete the specified user. Typically, this will be an empty object or confirmation message indicating successful deletion. If the deletion fails, the output may contain error details.
No binary data is produced by this operation.
Example output JSON:
{}
or on error:
{
"error": "Error message describing what went wrong"
}
Dependencies
- Requires an active connection to the OpenProject API.
- Needs an API key credential configured in n8n for authentication.
- The base URL of the OpenProject instance must be provided in the credentials.
- Uses HTTP Basic Authentication with the API key encoded in Base64.
Troubleshooting
Common issues:
- Invalid or missing User ID: Ensure the User ID provided exists and is correct.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network or connectivity problems: Confirm that the OpenProject instance is reachable from n8n.
- Permission denied: The API key might lack rights to delete users.
Common error messages:
OpenProject error response: <message>: Indicates an error returned by the OpenProject API. Check the message for details (e.g., user not found, insufficient permissions).The resource 'user' is not supported for delete operation!: This should not occur if the node is used correctly; indicates a misconfiguration or bug.
To resolve errors, verify input parameters, credentials, and API permissions. Enable "Continue On Fail" in the node settings to handle errors gracefully during batch operations.