### Mutation Use this mutation to delete templates by their numeric IDs or by a name pattern. ```graphql mutation DeleteTemplates($templateids: [Int!], $name_pattern: String) { deleteTemplates(templateids: $templateids, name_pattern: $name_pattern) { id message error { message code data } } } ``` ### Variables (by ID) ```json { "templateids": [501] } ``` ### Variables (by name pattern) ```json { "name_pattern": "BT_DEVICE_TRACKER%" } ```