> ## Documentation Index
> Fetch the complete documentation index at: https://nayax-44d6e37b-docs-marshall-faq-redistribution.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk Update Machine Attributes

> Performs a bulk update of machine attributes for the specified machine identified by `MachineID`.



## OpenAPI

````yaml /openapi/lynx.yaml put /v1/machines/{MachineID}/attributes
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/machines/{MachineID}/attributes:
    put:
      tags:
        - Machine Attribute
      summary: Bulk Update Machine Attributes
      description: >-
        Performs a bulk update of machine attributes for the specified machine
        identified by `MachineID`.
      operationId: bulk-update-machine-attributes
      parameters:
        - name: MachineID
          in: path
          required: true
          description: >-
            The unique identifier of the machine whose attributes are being
            updated.
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/MachineAttribute'
      responses:
        '200':
          description: >-
            The result of the bulk update operation, including success and any
            failure details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkUpdateResponse'
components:
  schemas:
    MachineAttribute:
      type: object
      description: >-
        Represents a single attribute of a machine, including its identifier,
        value, and associated metadata.
      properties:
        DeviceAttributeID:
          type: integer
          format: int64
          description: The unique identifier of the device attribute.
        MachineID:
          type: integer
          format: int64
          description: The unique identifier of the machine associated with this attribute.
        DeviceAttributeValue:
          type: string
          nullable: true
          description: The value assigned to this device attribute.
        DeviceAttributeCodeID:
          type: integer
          format: int32
          nullable: true
          description: The code identifier for this device attribute.
        DeviceAttributeName:
          type: string
          nullable: true
          description: The name of the device attribute.
        DeviceAttributeGroup:
          type: string
          nullable: true
          description: The group or category to which this device attribute belongs.
        DeviceAttributeReadOnlyBit:
          type: boolean
          description: Indicates whether the device attribute is read-only.
        MachineAttributeRef:
          type: string
          nullable: true
          readOnly: true
          description: >-
            A reference string for the machine attribute, typically used for
            informational purposes.
        MachineRef:
          type: string
          nullable: true
          readOnly: true
          description: >-
            A reference string for the machine, typically used for informational
            purposes.
      additionalProperties: false
    BulkUpdateResponse:
      type: object
      description: >-
        Represents the result of a bulk update operation, indicating overall
        success and details of any failed updates.
      properties:
        isFullySuccess:
          type: boolean
          description: Indicates whether the bulk update operation was fully successful.
        failureItems:
          type: array
          items:
            $ref: '#/components/schemas/FailureItem'
          nullable: true
          description: A list of items that failed to update, including error details.
      additionalProperties: false
    FailureItem:
      type: object
      description: >-
        Represents an individual item that failed during a bulk update
        operation, including an error message.
      properties:
        id:
          type: string
          nullable: true
          description: The identifier of the item that failed to update.
        error:
          type: string
          nullable: true
          description: The error message explaining why the item failed to update.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````