Skip to main content

Creates user entity

Creates user entity

Request Body
  • name string required
  • info string required
  • auth_factors string[] required

    Possible values: [card, input_code, face_id, qr]

  • lock_number integer required
  • is_custom_user_access boolean required
Responses

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

  • POST /access/user/{userUid}/timeprofile/{timeprofileUid} - to attach timeprofile to user
  • POST /access/user/{userUid}/identifier/{identifierUid} - to attach identifier to user
  • POST /apartment/item/{apartmentUid}/user/{userUId} - to add user to apartment
  • DELETE/GET/PATCH /access/users/item/{userUid} - 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 referenses. If value is -1, then it means that is no entity reference for this structure

  • has_dublicates boolean
Loading...