upsertControllerPolicy
Topics: Devices
Create or update the policy for a controller. Idempotent on controllerId (one row per controller). Wholesale-replace on both allowlists. Triggers a config.update push to the controller. Requires controller_policy:write permission.
Exact field SDL
"""
Create or update the policy for a controller. Idempotent on controllerId (one row per controller). Wholesale-replace on both allowlists. Triggers a config.update push to the controller. Requires controller_policy:write permission.
"""
upsertControllerPolicy(
"""Policy contents"""
input: UpsertControllerPolicyInput!
): UpsertControllerPolicyPayload! @topic(names: ["devices"])Declared on Mutation. Access is checked by the platform for each operation.