Skip to main content

machineDelete

Delete a spare parts machine and all its child machines.

Permanently removes the specified machine and all its nested sub-machines from the system. This operation cannot be undone.

Possible errors:

  • SPARE_PARTS_DELETE_MACHINE_NOT_FOUND_ERROR: Machine with the specified ID does not exist
  • SPARE_PARTS_DELETE_MACHINE_ERROR: Failed to delete the machine

AUTH: Role=[product.OWNER]

machineDelete(
id: String!
): Boolean!

Arguments

machineDelete.id ● String! non-null scalar

Unique identifier of the machine to delete.

Must be a valid machine ID. All child machines will also be deleted as part of this operation.

Type

Boolean scalar

The Boolean scalar type represents true or false.