Dell Technologies ECS REST API

Search (SHIFT+S)




Create User

POST /iam?Action=CreateUser

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


Query Parameters

UserNameThe name of the user to create.
PathThe path for the user. Optional, defaults to "/" and only "/" is allowed.
PermissionsBoundaryThe ARN of the policy that is used to set the permissions boundary for the user.
TagsA list of tags that you want to attach to the user being created.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
CreateUserResponse
CreateUserResult    
User    
Arn Arn that identifies the user. String
CreateDate ISO 8601 format DateTime when user was created. String
PasswordLastUsed ISO 8601 DateTime when the password was last used. String
Path The path to the IAM User. String
PermissionsBoundary    
PermissionsBoundaryArn The ARN of the policy set as permissions boundary. String
PermissionsBoundaryType The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary for an entity. This data type can only have a value of Policy. String
Tags The list of Tags associated with the User. 0-* Elements
UserId Unique Id associated with the User. String
UserName Simple name identifying the User. String
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?UserName=payroll2&Path=/&Tags.member.1.Key=Department&Tags.member.1.Value=Finance&Action=CreateUser
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:CreateUserResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:171648dacb1:1a9f0:70</RequestId>
    </ResponseMetadata>
    <CreateUserResult>
        <User>
            <Arn>urn:ecs:iam::ns:user/payroll2</Arn>
            <CreateDate>2020-04-13T19:54:30Z</CreateDate>
            <Path>/</Path>
            <UserId>AIDA21BCE6940A8DE1EC</UserId>
            <UserName>payroll2</UserName>
        </User>
    </CreateUserResult>
</ns2:CreateUserResponse>