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 deletes a user from the "Principals" resource in OpenProject via its API. It is useful when you need to programmatically remove users from your project management system, for example, to automate cleanup of inactive or obsolete user accounts.
A practical example would be integrating this node into a workflow that deactivates and deletes users who have not logged in for a certain period, helping maintain an up-to-date user list without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the user to delete (User id) |
Output
The output JSON will typically contain the response from the OpenProject API after attempting to delete the specified user. This may include confirmation of deletion or error details if the operation failed.
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- The node expects the base URL of the OpenProject instance to be configured in the credentials.
- The node uses standard HTTP headers for JSON content type and accepts JSON responses.
Troubleshooting
Common issues:
- Providing an invalid or non-existent user ID will result in an error from the API.
- Missing or incorrect API authentication credentials will cause authorization failures.
- Network connectivity problems can prevent the node from reaching the OpenProject server.
Error messages:
- 404 Not Found: The user ID does not exist. Verify the user ID before retrying.
- 401 Unauthorized: Authentication failed. Check that the API key credential is valid and has sufficient permissions.
- 400 Bad Request: The request was malformed. Ensure the user ID is correctly formatted as a number.