Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Create Group

POST CreateGroup

Creates a new IAM Group in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

GroupNameThe name of the group to create.
PathThe path for the group. Optional, defaults to "/" and only "/" is allowed.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
CreateGroupResponse
CreateGroupResult    
Group    
GroupName Simple name identifying the Group. String
Arn Arn that identifies the Group. String
GroupId Unique Id associated with the Group. String
Path The path to the IAM Group. String
CreateDate ISO 8601 format DateTime when group was created. String
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0::4443/iam?GroupName=iamFinanceGroup2&Path=/&Action=CreateGroup
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:CreateGroupResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:171648dacb1:1ad3a:0</RequestId>
    </ResponseMetadata>
    <CreateGroupResult>
        <Group>
            <Arn>urn:ecs:iam::ns:group/iamFinanceGroup2</Arn>
            <CreateDate>2020-04-13T19:56:39Z</CreateDate>
            <GroupId>AGPAC470F6C1E9E196E1</GroupId>
            <GroupName>iamFinanceGroup2</GroupName>
            <Path>/</Path>
        </Group>
    </CreateGroupResult>
</ns2:CreateGroupResponse>