← API reference
Mutation / workflows · scripting

updateTemplate

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

Arguments

Template ID to update

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

Returns UpsertTemplatePayload!

Explore in a view

ScriptingWorkflow Authoring
View exact 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"])

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