Command option Sample:aws iam delete-group-policy

Search command sample in the internet.It is the result.

Deletes the specified inline policy that is embedded in the specifiedIAM group.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/iam/delete-group-policy.html

aws iam delete-group-policy --group-name Admins --policy-name ExamplePolicy
    detach-group-policy — AWS CLI 1.16.7 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/iam/delete-group-policy.html

aws のオプション一覧