ALTER GROUP REMOVE USER

Removes one or more users from a group.

Category: securityPrivilege: ManageUsersDeltaForge extension

Syntax

ALTER GROUP <name> REMOVE USER <user1> [, <user2> ...]

Description

## 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.

Parameters

NameTypeDescription
nameSpecifies the group to update.
usersSpecifies one or more users to remove.

Examples

ALTER GROUP platform_team REMOVE USER alice;
ALTER GROUP platform_team REMOVE USER alice, bob;

Pitfalls

See Also

Open in interactive docs →   DeltaForge home →