user

Create a New user

post/users

Request

  • Base URL: http://localhost:9080/api/v3
  • URL: http://localhost:9080/api/v3/users
  • Auth: one of:
    • API key in header Authorization
    • SecurityDefinitions (a scheme the document does not define)
    • API key in header Authorization
    • type (a scheme the document does not define)
    • name (a scheme the document does not define)
    • in (a scheme the document does not define)

Request body

departmentstring required
emailstring required
firstnamestring
guidstring required

should be a unique value representing user

lastnamestring required
partidinteger required
passwordstring required
usergroupstring required
usernamestring required

Example request

{
  "department": "NOC",
  "guid": "e71771a2-1ea0-498f-8d27-391713e10664",
  "partid": 10,
  "usergroup": "admin"
}

Response

UserCreateSuccessResponse

datastring
messagestring

Example response

{
  "data": "af72057b-2745-0a1b-b674-56586aadec57",
  "message": "successfully created user"
}

Changes