Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Add User To Group

POST AddUserToGroup

Adds the specified user to the specified group.


Query Parameters

GroupNameThe name of the group to update.
UserNameThe name of the user to add.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
AddUserToGroupResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?UserName=tt1&GroupName=FinanceGroup&Action=AddUserToGroup

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:AddUserToGroupResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:9257:c7</RequestId>
    </ResponseMetadata>
</ns2:AddUserToGroupResponse>