Skip to main content

Update identifiers by type (single or list)

Updates identifiers based on the provided parameters. The identifier format must match the Wiegand card reader settings configured via POST /access/general/wiegand/type. Supported formats include:

  • Hexadecimal (e.g., "1c-3b-4a")
  • Decimal (e.g., "1850186")

Modes:

  • If number is not provided → batch update of identifiers
  • If number is provided → single identifier update

Returns:

  • A list of operation results for each identifier (e.g., success/failure status)
  • The identifier format must align with the Wiegand configuration (hex/decimal) set via POST /access/general/wiegand/type.
Query Parameters
  • type string required

    Possible values: [card, face_id, inputCode, qr, ukey, license_plate]

    Identifier type

  • number object

    Required only for single identifier operations and optional for batch operations

Request Body required

Identifier update request

Required fields:

  • identifier_owner
  • lock
  • valid

Notes:

  • identifier_number is required for batch update mode
  • identifier_number is ignored in single update mode and taken from query parameter
  • identifier_type is optional and should be specified only when the identifier type needs to be changed
  • changing identifier type to FACE_ID is not supported
    oneOf

  • list_items object[] required

    List of identifier update requests to be processed in batch mode

  • identifier_type object

    Identifier type

  • identifier_number object

    Identifier number in HEX or Decimal format depending on the selected Wiegand Identifier representation mode.

    Warning: The same value may represent different identifiers in different modes. For example, 44 is identifier 44 in Decimal mode, but identifier 68 in Decimal representation when HEX mode is used (0x44).

    Ensure the correct representation mode is selected before performing update or delete operations.

    oneOf

  • string
  • identifier_owner object required

    Owner associated with the identifier

  • type string required

    Owner entity type

  • name string required

    Owner name or identifier

  • lock string required

    Possible values: [first, second, all]

    Defines which lock the identifier grants access to:

    • first - access to the first lock only
    • second - access to the second lock only
    • all - access to both locks
  • valid object required

    Time validity settings for the identifier

  • time object required

    Time validity model for identifier

    oneOf

  • is_permanent boolean required

    Possible values: [true]

    Always true for permanent validity

  • passes object required

    Pass limit model for identifier

    oneOf

  • is_permanent boolean required

    Possible values: [true]

    Permanent mode flag

  • max_passes integer required

    Maximum number of allowed passes

Responses

Per-identifier operation result.

Notes:

  • This endpoint always returns HTTP 200 even if individual operations fail.
  • Validation and business errors are returned per item in extended_info.
  • Partial success is supported in batch mode.
  • Database is modified only for successfully processed identifiers.

Schema
  • result object[]

    Per-operation result list

Loading...