DetachIDProviderGroupPolicy#

Description#

Detaches the policy from the identity provider group.

Request Parameters#

Required parameters#

  • IDProviderGroupName — The name of the identity provided group.

    • Type: String

    • Required: Yes

  • IDProviderName — The name of the identity provider.

    • Type: String

    • Required: Yes

  • PolicyArn — Amazon Resource Name (ARN) of the detached policy.

    • Type: String

    • Required: Yes

Optional parameters#

  • ProjectName — The name of the project, which is specified when a project policy is detached.

    • Type: String

    • Required: No

Examples#

Request

https://iam.k2.cloud/?Action=DetachIDProviderGroupPolicy
&IDProviderName=company
&IDProviderGroupName=AdminGroup
&ProjectName=project-1
&PolicyArn=arn:c2:iam:::policy/EC2FullAccess

Response

<DetachIDProviderGroupPolicyResponse>
    <requestId>91be218e-09df-45ad-afc8-b687e2d1d948</requestId>
    <ResponseMetadata>
        <RequestId>91be218e-09df-45ad-afc8-b687e2d1d948</RequestId>
    </ResponseMetadata>
</DetachIDProviderGroupPolicyResponse>
c2-iam DetachIDProviderGroupPolicy IDProviderName company IDProviderGroupName AdminGroup ProjectName project-1 PolicyArn arn:c2:iam:::policy/EC2FullAccess

c2-iam DetachIDProviderGroupPolicy IDProviderName company IDProviderGroupName AdminGroup PolicyArn arn:c2:iam:::policy/IAMFullAccess