← API reference
Mutation / devices

upsertController

Create or update a controller. Requires controller:write permission.

Arguments

Controller data

Returns UpsertControllerPayload!

Explore in a view

Device Fleet
View exact SDL
"""Create or update a controller. Requires controller:write permission."""
upsertController(
  """Controller data"""
  input: UpsertControllerInput!
): UpsertControllerPayload! @topic(names: ["devices"])

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