Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Tag User

POST TagUser

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


Query Parameters

TagsA list of tags that you want to attach to the user.
UserNameSimple name identifying the user.

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=Region&Tags.member.2.Value=East&UserName=User1&Action=TagUser

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"?>
<TagUserResponse>
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:c6b5:3f</RequestId>
    </ResponseMetadata>
</TagUserResponse>