superset_user_update
Update existing user details for name, email, and active status. Replace the full role list in one call.
Instructions
Update a user. Only pass the fields you want to change.
IMPORTANT: roles REPLACES the entire role list (does not append). To add a single role: get the current roles via user_get, add the new ID to the list, then pass the full list.
Args: user_id: ID of the user to update. first_name: New first name. last_name: New last name. email: New email (must be unique). roles: New list of role IDs (REPLACES all current roles). active: Activate/deactivate the account. confirm_roles_replace: Confirmation for role replacement (REQUIRED when passing roles).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| roles | No | ||
| active | No | ||
| user_id | Yes | ||
| last_name | No | ||
| first_name | No | ||
| confirm_roles_replace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |