wetrack_update_user
Update a user's profile by modifying their name, role, or job title using the user ID and new field values.
Instructions
Update a user's profile fields.
Args: user_id: The user UUID or integer ID. first_name: New first name. last_name: New last name. role: New role — 'ADMIN', 'VITHI_USER', 'EMPLOYEE', 'CUSTOMER'. designation: New job title. Cannot be an empty string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| user_id | Yes | ||
| last_name | No | ||
| first_name | No | ||
| designation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |