Add User
POST https://{{cluster-vip}}/irisservices/api/v1/public/users
Adds a user in the Cohesity cluster.
Request Body
{"domain"=>"LOCAL", "effectiveTimeMsecs"=>1675279386368, "roles"=>["COHESITY_ADMIN"], "restricted"=>false, "type"=>"user", "_isDeletable"=>true, "_principalType"=>"local_user", "username"=>"{{user_name}}", "emailAddress"=>"{{email_address}}", "password"=>"test", "passwordConfirm"=>"test", "expiredTimeMsecs"=>1675497600000, "additionalGroupNames"=>[]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"username":"{{user_name}}","domain":"LOCAL","emailAddress":"{{email_address}}","roles":["COHESITY_ADMIN"],"privilegeIds":null,"clusterIdentifiers":null,"effectiveTimeMsecs":1675279386368,"expiredTimeMsecs":1675497600000,"restricted":false,"createdTimeMsecs":1675279919423,"lastUpdatedTimeMsecs":1675279919423,"sid":"S-1-21-21-99004370-65145163-19","s3AccountId":"{{account_id}}","s3AccessKeyId":"{{access_id}}","s3SecretKey":"{{secret_key}}","isAccountLocked":false,"lockoutReason":"NotLocked"}