← API reference
Mutation / jobs

updateOperation

Update an operation. Only provided fields are changed. Requires operation:write permission.

Arguments

Operation ID to update

Fields to update — only provided fields are changed

Returns UpsertOperationPayload!

Explore in a view

Production Floor
View exact SDL
"""
Update an operation. Only provided fields are changed. Requires operation:write permission.
"""
updateOperation(
  """Operation ID to update"""
  id: OperationID!
  """Fields to update — only provided fields are changed"""
  input: UpdateOperationInput!
): UpsertOperationPayload! @topic(names: ["jobs"])

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