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 allows you to lock a user in the "Users" resource of the OpenProject system via its API. Locking a user typically disables their access without deleting their account, which is useful for temporarily restricting user activity or managing user permissions securely.
Common scenarios include:
- Disabling access for users who have left an organization.
- Temporarily suspending accounts during security investigations.
- Managing user lifecycle without losing historical data.
Example: Locking a user with ID 123 to prevent them from logging into the system.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the user to lock (number). |
Output
The node outputs JSON data representing the result of the lock operation on the specified user. This typically includes confirmation of the user's locked status or details about the updated user record.
No binary data output is involved.
Dependencies
- Requires an API key credential to authenticate with the OpenProject API.
- Needs the base URL of the OpenProject instance configured in the credentials.
- Depends on the OpenProject REST API being accessible and the authenticated user having permission to lock users.
Troubleshooting
- Invalid User ID: If the provided user ID does not exist, the API will likely return an error indicating the user was not found. Verify the user ID before running the node.
- Authentication Errors: Ensure that the API key and base URL are correctly set up in the node credentials.
- Permission Denied: The authenticated user must have sufficient rights to lock other users; otherwise, the API will reject the request.
- Network Issues: Connectivity problems with the OpenProject server can cause timeouts or failures.