Actions17
User → Update
AI-generatedOverview
This node updates an existing user in the Redmine system. It is useful for scenarios where user details need to be modified, such as changing the user's status, updating email notification preferences, or modifying custom fields. For example, an admin might use this node to update a user's role or require them to change their password on next login.
Use Case Examples
- Updating a user's status to 'Locked' after multiple failed login attempts.
- Changing a user's email notification settings to receive only assigned notifications.
- Adding or updating custom fields for a user to store additional metadata.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user to update. |
| Additional Fields | Optional fields to update for the user, including admin status, authentication source ID, custom fields, email notification preferences, password change requirement, and user status. |
| Options | Additional options for the update operation, including impersonating another user by login (requires admin API key). |
Output
JSON
id- The unique identifier of the updated user.login- The login name of the updated user.firstname- The first name of the updated user.lastname- The last name of the updated user.mail- The email address of the updated user.status- The status of the updated user (e.g., Active, Registered, Locked).admin- Boolean indicating if the user is an administrator.custom_fields- Array of custom fields associated with the user, each containing an ID and value.
Dependencies
- Redmine API key credential for authentication
Troubleshooting
- Common issues include invalid or missing User ID, which will cause the update to fail.
- Incorrect API key or insufficient permissions can result in authentication errors.
- Providing invalid values for fields like status or email notification options may cause the API to reject the update.
- If impersonation is used, the API key must belong to an admin user; otherwise, the operation will fail.
Links
- Redmine REST API - Users - Official Redmine API documentation for user operations, including update.