Create a new user. 

Version: v3

Required Permissions

The authenticated user must be an admin.

Request

Request Type: POST

Endpoint:

/v3/people/

 

Request Body:

{
  "accept": "accept",
  "password": "foo",
  "password2": "foo",
  "email": "abc2234@trifacta.com",
  "name": "abc2"
}

Response

Response Status Code - Success: 201 - Created

Response Body Example:

{
  "outputHomeDir": "/trifacta/queryResults/abc2234@trifacta.com",
  "isAdmin": false,
  "isDisabled": false,
  "id": 2,
  "email": "abc2234@trifacta.com",
  "name": "abc2",
  "updatedAt": "2017-02-08T19:07:08.985Z",
  "createdAt": "2017-02-08T19:07:08.985Z",
  "ssoPrincipal": null,
  "hadoopPrincipal": null,
  "cpPrincipal": null,
  "lastLoginTime": null,
  "awsConfig": null
}

Reference

Request properties:

PropertyDescription
acceptThis property must be set to accept to create the user.
password2This value confirms the value for password. These two property values must be identical.

For more information on the properties of a user, see API People Get v3.