CmdID

CmdID / aws / aws iam

aws iam delete-group-policy

Deletes the specified inline policy that is embedded in the specified IAM group. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a policy from an IAM group

The following delete-group-policy example deletes the policy named ExamplePolicy from the group named Admins.

aws iam delete-group-policy --group-name Admins --policy-name ExamplePolicyIdentify
--group-nameThe name (friendly name, not ARN) identifying the group that the policy is embedded in.
--policy-nameThe name identifying the policy document to delete.

This command produces no output.

To see the policies attached to a group, use the list-group-policies command.

For more information, see Managing IAM policies in the AWS IAM User Guide.

Options

2 in the AWS CLI reference
--group-nameThe name (friendly name, not ARN) identifying the group that the policy is embedded in.
--policy-nameThe name identifying the policy document to delete.