ProductionMu Mutation

updateController

Topics: Devices

Update a controller. Only provided fields are changed. Requires controller:write permission.

Returns

UpsertControllerPayload!

Arguments

Controller ID to update

Fields to update — only provided fields are changed

Exact field SDL
"""
Update a controller. Only provided fields are changed. Requires controller:write permission.
"""
updateController(
  """Controller ID to update"""
  id: ControllerID!
  """Fields to update — only provided fields are changed"""
  input: UpdateControllerInput!
): UpsertControllerPayload! @topic(names: ["devices"])

Declared on Mutation. Access is checked by the platform for each operation.