← API reference
Mutation / jobs

updateComponent

Update a component. Only provided fields are changed. Requires component:write permission.

Arguments

Component ID to update

Fields to update — only provided fields are changed

Returns UpsertComponentPayload!

Explore in a view

Production Floor
View exact SDL
"""
Update a component. Only provided fields are changed. Requires component:write permission.
"""
updateComponent(
  """Component ID to update"""
  id: ComponentID!
  """Fields to update — only provided fields are changed"""
  input: UpdateComponentInput!
): UpsertComponentPayload! @topic(names: ["jobs"])

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