AutomationMu Mutation

updateTemplate

Topics: Scripting Workflows

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

Returns

UpsertTemplatePayload!

Arguments

id

TemplateID!Required

Template ID to update

Fields to update — only provided fields are changed; kind cannot be changed

Exact field SDL
"""
Update a template. Only provided fields are changed. Requires template:write permission.
"""
updateTemplate(
  """Template ID to update"""
  id: TemplateID!
  """
  Fields to update — only provided fields are changed; kind cannot be changed
  """
  input: UpdateTemplateInput!
): UpsertTemplatePayload! @topic(names: ["workflows", "scripting"])

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