Skip to main content

templateDelete

Permanently delete a message template from the system.

Removes the template and all associated data, affecting any processes that depend on this template for message generation.

Possible errors:

  • TEMPLATE_NOT_FOUND: Template with specified ID does not exist
  • TEMPLATE_DELETE_ERROR: Failed to delete template due to system constraints or dependenciesAUTH: Role=[configuration.OWNER]
templateDelete(
id: String!
): Boolean!

Arguments​

templateDelete.id ● String! non-null scalar​

Unique identifier for the template to delete.

UUID that uniquely identifies the template in the system, used for targeting the specific template for permanent removal.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.