---
title: "Bulk Update Machine Attributes"
method: PUT
path: "/v1/machines/{MachineID}/attributes"
tags: ["Machine Attribute"]
---

# Bulk Update Machine Attributes

`PUT /v1/machines/{MachineID}/attributes`

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

## Path parameters

- `MachineID` integer, required

## Request body

- MachineAttribute[]
  - `DeviceAttributeID` integer — The unique identifier of the device attribute.
  - `MachineID` integer — The unique identifier of the machine associated with this attribute.
  - `DeviceAttributeValue` string, nullable — The value assigned to this device attribute.
  - `DeviceAttributeCodeID` integer, nullable — The code identifier for this device attribute.
  - `DeviceAttributeName` string, nullable — The name of the device attribute.
  - `DeviceAttributeGroup` string, nullable — The group or category to which this device attribute belongs.
  - `DeviceAttributeReadOnlyBit` boolean — Indicates whether the device attribute is read-only.
  - `MachineAttributeRef` string, nullable — A reference string for the machine attribute, typically used for informational purposes.
  - `MachineRef` string, nullable — A reference string for the machine, typically used for informational purposes.

## Response `200`

The result of the bulk update operation, including success and any failure details.

- BulkUpdateResponse — Represents the result of a bulk update operation, indicating overall success and details of any failed updates.
  - `isFullySuccess` boolean — Indicates whether the bulk update operation was fully successful.
  - `failureItems` FailureItem[], nullable — A list of items that failed to update, including error details.
    - `id` string, nullable — The identifier of the item that failed to update.
    - `error` string, nullable — The error message explaining why the item failed to update.

---

[API](https://skmtc.net/nayax/apis/nayax-cortina-api.md) · [All operations](https://skmtc.net/nayax/apis/nayax-cortina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nayax/nayax-cortina-api/revisions/421f6f83c257/schema)
