superset_group_update
Update a group's name, label, description, and replace its roles and users. Pass only fields to change; roles and users replace the full lists.
Instructions
Update a group. Only pass the fields you want to change.
IMPORTANT: roles REPLACES the entire role list of the group (does not append). IMPORTANT: users REPLACES the entire user list of the group (does not append).
To add a single role/user: fetch current ones via group_get, add the ID to the list, pass the complete list.
Args: group_id: ID of the group to update. name: New group name. label: New label. description: New description. roles: New COMPLETE list of role IDs (REPLACES all current ones). users: New COMPLETE list of user IDs (REPLACES all current ones). confirm_roles_replace: Confirmation for role replacement (REQUIRED when roles is set). confirm_users_replace: Confirmation for user replacement (REQUIRED when users is set).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| label | No | ||
| roles | No | ||
| users | No | ||
| group_id | Yes | ||
| description | No | ||
| confirm_roles_replace | No | ||
| confirm_users_replace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |