← API reference
Mutation / workflows · scripting

deleteTemplate

Delete a template and all its versions. Requires template:delete permission.

Arguments

Template ID to delete

Returns DeleteTemplatePayload!

Scalar fields at a glance

successBoolean!
↗ View the complete DeleteTemplatePayload type

Explore in a view

ScriptingWorkflow Authoring
View exact SDL
"""
Delete a template and all its versions. Requires template:delete permission.
"""
deleteTemplate(
  """Template ID to delete"""
  id: TemplateID!
): DeleteTemplatePayload! @topic(names: ["workflows", "scripting"])

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