Create User

/users

Create User [POST]

Create a new user for your company.

Authorization: Admin

Request

Body
  {
    "firstName": "Homer",
    "lastName": "Simpson",
    "userName": "homer.simpson@nuclearplant.com",
    "rowStatus": 1,
    "emailUser": true,
    "autoGeneratePassword": false,
    "password": "secret",
    "passwordConfirmation": "secret",
    "optInNewsletter": true,
    "roleIds": [1, 3, 4],
    "teamIds": [68, 10, 2]
  }

Response 200

Body
  {
    "item": {
      "id": 240,
      "firstName": "Homer",
      "lastName": "Simpson",
      "userName": "homer.simpson@nuclearplant.com",
      "createdAt": "2011-11-05T10:45:54.02",
      "createdBy": 9082,
      "rowStatus": 1,
      "timeZoneId": 4,
      "modifiedAt": "2013-01-17T18:40:39.77",
      "roleIds": [1, 3, 4],
      "teamIds": [68, 10, 2]
    }
  }

Still need help? Contact Us Contact Us