← API reference
Mutation / devices

updateControllerPolicy

Update a controller policy. Only provided fields are changed. The referenced controller must exist in this tenant. Triggers a config.update push to the controller. Requires controller_policy:write permission.

Arguments

Controller policy ID to update

Fields to update — only provided fields are changed

Returns UpsertControllerPolicyPayload!

Explore in a view

Device Fleet
View exact SDL
"""
Update a controller policy. Only provided fields are changed. The referenced controller must exist in this tenant. Triggers a config.update push to the controller. Requires controller_policy:write permission.
"""
updateControllerPolicy(
  """Controller policy ID to update"""
  id: ControllerPolicyID!
  """Fields to update — only provided fields are changed"""
  input: UpdateControllerPolicyInput!
): UpsertControllerPolicyPayload! @topic(names: ["devices"])

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