← API reference
Mutation / workflows · scripting

deleteTemplateVersion

Delete one version from a template's history. Fails when the version is the one the template is currently published at. Requires template:write permission.

Arguments

Template version ID to delete

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
↗ View the complete DeletePayload type

Explore in a view

ScriptingWorkflow Authoring
View exact SDL
"""
Delete one version from a template's history. Fails when the version is the one the template is currently published at. Requires template:write permission.
"""
deleteTemplateVersion(
  """Template version ID to delete"""
  id: TemplateVersionID!
): DeletePayload! @topic(names: ["workflows", "scripting"])

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