Actions28
- Event Actions
- Model Actions
- Object Actions
- Report Build Actions
- Scenario Actions
- Table Actions
- Task Actions
- User Actions
User → Update a User
AI-generatedSummary
Update an existing user in RIC using provided attributes.
Inputs
- userId (required) — User identifier (24 alphanumeric characters).
- fields — Object containing fields to set on the user (e.g., roleId, name, phone, login, password, disabled, webDisabled, temp, messages).
Output shape
a single updated user object
The operation returns the updated user record; errors are propagated as HTTP responses.
Examples
Example 1: Change role and disable login for a service user
userId: '5951113beb39561100fd5bbb', fields: {"roleId": "service-role", "disabled": true, "webDisabled": true}
Example 2: Enable a temporary user with a new phone number
userId: '5951113beb39561100fd5bbc', fields: {"name": "Alice", "phone": "+15551234567", "temp": true, "messages": false}