← API reference
Mutation / devices

updateController

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

Arguments

Controller ID to update

Fields to update — only provided fields are changed

Returns UpsertControllerPayload!

Explore in a view

Device Fleet
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.