Dell Technologies ECS REST API

Search (SHIFT+S)




Detach Group Policy

POST /iam?Action=DetachGroupPolicy

Remove the specified managed policy attached to the specified group.


Query Parameters

PolicyArnArn of the policy to remove.
GroupNameName of the group to remove the policy.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
DetachGroupPolicyResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?GroupName=TestGroup&PolicyArn=urn:ecs:iam:::policy/ECSS3FullAccess&Action=DetachGroupPolicy

Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:DetachGroupPolicyResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:1f229:1a</RequestId>
    </ResponseMetadata>
</ns2:DetachGroupPolicyResponse>