← API reference
Mutation / devices

updateEdgeApp

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.

Arguments

Draft edge app ID to update

Fields to update — only provided fields are changed

Returns UpsertEdgeAppPayload!

Explore in a view

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

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