iam_remove_user_from_group: Removes the specified user from the specified group

Description Usage Arguments Request syntax Examples

View source: R/iam_operations.R

Description

Removes the specified user from the specified group.

Usage

1
iam_remove_user_from_group(GroupName, UserName)

Arguments

GroupName

[required] The name of the group to update.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,[email protected]

UserName

[required] The name of the user to remove.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,[email protected]

Request syntax

1
2
3
4
svc$remove_user_from_group(
  GroupName = "string",
  UserName = "string"
)

Examples

1
2
3
4
5
6
# The following command removes the user named Bob from the IAM group
# named Admins.
svc$remove_user_from_group(
  GroupName = "Admins",
  UserName = "Bob"
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.