Warning: Deleting a template is irreversible. The CLI asks for confirmation by default (pass
-y / --yes to skip) and also removes the local novita.toml config for the deleted template.Examples
# Delete by template ID (alias: template dl)
novita-sandbox-cli template delete <templateID>
# Delete the template defined by novita.toml, without confirmation
novita-sandbox-cli template delete -y
# Pick from an interactive list
novita-sandbox-cli template delete --select --team <teamID>
import { Novita } from 'novita-sandbox'
const novita = new Novita()
const deleted = await novita.template.delete('tpl_123')
console.log(deleted) // true if deleted, false if not found
from novita_sandbox import Novita
novita = Novita()
deleted = novita.template.delete('tpl_123')
print(deleted) # True if deleted, False if not found