> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ChangeMachineHardwareCommandRequestInput

> Changes the hardware assigned to a machine. Only possible while the machine is not used in an active production process. Errors: the request is invalid; RESOURCE_NOT_FOUND (the resource was not found); RESOURCE_CATEGORY_MISMATCH (the resource is not a machine); RESOURCE_IN_USE (the machine is used in an active production process; the blockers name the processes); HARDWARE_NOT_FOUND (the hardware was not found). - Request



**Kind**: `input`

## Fields

**`resourceId`**: `ID!` (required)

The ID of the machine.

---

**`hardwareId`**: `ID`

The ID of the new hardware of the machine. Sending null removes the assignment.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

