ProductionMu Mutation

updateEdgeApp

Topics: Devices

Update an existing DRAFT edge app row. Rejects PUBLISHED/DEPRECATED rows (frozen) and attempts to change handle (immutable on an existing draft). Only provided fields are changed. Requires edge_app:write permission.

Returns

UpsertEdgeAppPayload!

Arguments

id

EdgeAppID!Required

Draft edge app ID to update

Fields to update — only provided fields are changed

Exact field SDL
"""
Update an existing DRAFT edge app row. Rejects PUBLISHED/DEPRECATED rows (frozen) and attempts to change `handle` (immutable on an existing draft). Only provided fields are changed. Requires edge_app:write permission.
"""
updateEdgeApp(
  """Draft edge app ID to update"""
  id: EdgeAppID!
  """Fields to update — only provided fields are changed"""
  input: UpdateEdgeAppInput!
): UpsertEdgeAppPayload! @topic(names: ["devices"])

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