DetachGroupPolicy
In this article:
DetachGroupPolicy#
Description#
Detaches the policy from the IAM group.
Request Parameters#
GroupName — The name of the group.
Type: String
Required: Yes
PolicyArn — Amazon Resource Name (ARN) of the detached policy.
Type: String
Required: Yes
Examples#
Request
https://iam.k2.cloud/?Action=DetachGroupPolicy
&GroupName=group-1
&PolicyArn=arn:c2:iam:::policy/IAMFullAccess
Response
<DetachGroupPolicyResponse>
<requestId>6ed2da60-0d88-45a5-bdd4-dc599064c81e</requestId>
<ResponseMetadata>
<RequestId>6ed2da60-0d88-45a5-bdd4-dc599064c81e</RequestId>
</ResponseMetadata>
</DetachGroupPolicyResponse>
c2-iam DetachGroupPolicy GroupName group-1 PolicyArn arn:c2:iam:::policy/IAMFullAccess