Skip to main content

Creates user entity

Creates user entity

Request Body
  • name string required

    User name

  • info string required

    User additional information

  • auth_factors object[] required

    List of auth factors

  • lock_number integer required

    Possible values: <= 2

    Lock number: 1 - first lock, 2 - second lock, 0 - both locks

  • is_custom_user_access boolean required

    Use custom auth factors when enabled

Responses

The uid value returned in the response can be used as the user-uid parameter in next requests:

  • POST /access/user/{user-uid}/timeprofile/{timeprofileUid} - to attach timeprofile to user
  • POST /access/user/{user-uid}/identifier/{identifier-uid} - to attach identifier to user
  • POST /apartment/item/{apartment-uid}/user/{userUId} - to add user to apartment
  • DELETE/GET/PATCH /access/users/item/{user-uid} - to read/delete/update user data
  • has_dublicates - if user with the same name already exists, has_dublicates will be in true condition
  • To identify users, use info` field

Schema
  • uid integer

    Possible values: >= -1

    UID for entities references. If value is -1, then it means that is no entity reference for this structure

  • has_dublicates boolean

    Parameter describes if user with the same name already exists

Loading...