Dell Technologies ECS REST API

Search (SHIFT+S)




List Group Policies

POST /iam?Action=ListGroupPolicies

Lists all inline policies that are attached to the specified IAM group.


Query Parameters

GroupNameThe name of the group to list attached policies for.
MarkerMarker is obtained from paginated response from the previous query. Use this only if the response indicates it is truncated.
MaxItemsIndicates the maximum number of elements to be returned in the response.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
ListGroupPoliciesResponse
ListGroupPoliciesResult    
PolicyNames Name of inline Policy.
member String 0-* Elements
Marker When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. String
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?GroupName=TestGroup&Action=ListGroupPolicies

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:ListGroupPoliciesResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:1f5a9:0</RequestId>
    </ResponseMetadata>
    <ListGroupPoliciesResult>
        <IsTruncated>false</IsTruncated>
        <PolicyNames>
            <member>InlinePolicy</member>
        </PolicyNames>
    </ListGroupPoliciesResult>
</ns2:ListGroupPoliciesResponse>