Removes one or more users from a group.
ALTER GROUP <name> REMOVE USER <user1> [, <user2> ...]
## Overview ALTER GROUP REMOVE USER removes users from a group's membership list. Each removed user immediately loses every role assigned to the group (and through inheritance, every privilege those roles conferred). ## Behavior - The group must already exist. - The keyword is `USER` (singular) followed by a comma-separated list. - Removing a user that is not a member is treated as idempotent at the Control Plane. - Existing sessions held by the user are not invalidated. Cached permission tokens may continue to grant access until they expire. ## Access Control Requires the `ManageUsers` privilege. ## Compatibility DeltaForge extension.
| Name | Type | Description |
|---|---|---|
name | Specifies the group to update. | |
users | Specifies one or more users to remove. |
ALTER GROUP platform_team REMOVE USER alice;
ALTER GROUP platform_team REMOVE USER alice, bob;