Remove User From Group
POST /iam?Action=RemoveUserFromGroup
Removes the specified user from the specified group.
Query Parameters
GroupName | The name of the group to update. |
UserName | The name of the user to be removed. |
Required Roles
This call has no restrictions.
Request Payload
No Request Payload
Response Body
Field |
Description |
Type |
Notes |
RemoveUserFromGroupResponse |
|
|
|
ResponseMetadata |
|
|
|
RequestId |
|
String |
|
Examples
Request
POST https://192.168.0.0:4443/iam?UserName=tt1&GroupName=FinanceGroup&Action=RemoveUserFromGroup
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:RemoveUserFromGroupResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:9129:4c</RequestId>
</ResponseMetadata>
</ns2:RemoveUserFromGroupResponse>
Request
POST https://192.168.0.0:4443/iam?UserName=tt1&GroupName=FinanceGroup&Action=RemoveUserFromGroup
Accept: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
{
"ResponseMetadata": {
"RequestId": "0af9f5b8:17178fe9282:9257:35"
}
}
Request
curl -H $token -H "Content-Type: application/xml" -H "x-emc-namespace: <namespace>" -X POST https://$nodeIp:4443/iam?UserName=tt1&GroupName=FinanceGroup&Action=RemoveUserFromGroup
Response
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:RemoveUserFromGroupResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:9129:4c</RequestId>
</ResponseMetadata>
</ns2:RemoveUserFromGroupResponse>