Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Tag Role

POST TagRole

Adds one or more tags to a specified IAM Role in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

RoleNameSimple name identifying the role.
TagsA list of tags that you want to attach to the role.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

No Response Body


Examples

Request
POST https://192.168.0.0:4443/iam?Tags.member.1.Key=Department&Tags.member.1.Value=Finance&Tags.member.2.Key=Location&Tags.member.2.Value=USA&RoleName=FinanceRole&Action=TagRole

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"?>
<TagRoleResponse>
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:dbe1:83</RequestId>
    </ResponseMetadata>
</TagRoleResponse>