Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

D toc

Create a new user. 

Version: v3

Required Permissions

The authenticated user must be an admin.

D s api auth

Request

Request Type: POST

Endpoint:

Code Block
/v3/people/

 

Request Body:

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

Response

Response Status Code - Success: 201 - Created

Response Body Example:

Code Block
{
  "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.