Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




List Role Tags

POST ListRoleTags

Lists the tags that are attached to the specified IAM Role in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

MarkerFor pagination, the value of the Marker element in the response that you received to indicate where the next call should start.
MaxItemsUse this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true and Marker contains a value to include in the subsequent call that tells the service where to continue from.
RoleNameSimple name identifying the role.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
ListRoleTagsResponse
ListRoleTagsResult    
Tags
member 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?RoleName=FinanceRole&Action=ListRoleTags

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:ListRoleTagsResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:de85:30</RequestId>
    </ResponseMetadata>
    <ListRoleTagsResult>
        <IsTruncated>false</IsTruncated>
        <Tags>
            <member>
                <Key>Department</Key>
                <Value>Finance</Value>
            </member>
            <member>
                <Key>Location</Key>
                <Value>USA</Value>
            </member>
        </Tags>
    </ListRoleTagsResult>
</ns2:ListRoleTagsResponse>