Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Remove users from groups
Use the following procedure to remove members from a group. Alternatively, you can
call the Amazon API operation DeleteGroupMembership to remove a user from a
group.
- Console
-
To remove a user from a group
-
Open the IAM Identity Center
console.
-
Choose Groups.
-
Choose the group you want to update.
-
On the group details page, under the Users in this group,
choose the users to remove.
-
Choose Remove users from group.
-
On the Remove users dialog box, choose Remove
users from group to verify you want to remove the users
access to the account and applications that are assigned to the
group.
- Amazon CLI
-
To remove a user from a group
The following delete-group-membership
command removes a
membership from a group.
aws identitystore delete-group-membership
--identity-store-id d-1234567890 \
--membership-id a1b2c3d4-5678-90ab-cdef-EXAMPLE33333